Intel

AIKIDO-2026-285812

uu_stdbuf is vulnerable to Privilege Escalation

Privilege EscalationGHSA-939x-8rj3-7p25 Published 4 days ago

50

Medium Risk

This Affects:

RUSTuu_stdbuf
0.0.1 - 0.10.0
Fixed in 0.11.0
Are you affected? Scan for Free

TL;DR

stdbuf unpacks its libstdbuf.so helper into a temporary directory created with default permissions and sets LD_PRELOAD to that library. Under a permissive umask the directory and library are world writable, so a local user can overwrite the library and run arbitrary code in the victim process. Because stdbuf uses exec() instead of waiting on a child, the temporary directory is never removed, so leftover directories can exhaust space or inodes in TMPDIR. The fix creates the temporary directory and library with private permissions and removes the leak.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run stdbuf on a shared system where a local user can write to its temporary directory.

Background info

uu_stdbuf is vulnerable to Privilege Escalation in versions 0.0.1 - 0.10.0.

How to fix this

Upgrade the uu_stdbuf library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform