uu_stdbuf is vulnerable to Privilege Escalation
50
Medium Risk
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.
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.
uu_stdbuf is vulnerable to Privilege Escalation in versions 0.0.1 - 0.10.0.
Upgrade the uu_stdbuf library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.