Intel

AIKIDO-2026-138709

uu_rm is vulnerable to Race Condition (TOCTOU)

Race Condition (TOCTOU)GHSA-9gw8-m5cj-3cr6 Published 4 days ago

70

High Risk

This Affects:

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

TL;DR

Recursive descent opens subdirectory entries without following symlinks, but the top level operand is still opened by path after a separate metadata check, with no inode re-verification. A local user who controls the operand or its parent directory can swap a directory for a symlink between the check and the open, so deletion reaches outside the intended subtree. The fix re-verifies the opened operand against the checked inode.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run recursive rm on an operand whose path or parent directory another local user can modify concurrently.

Background info

uu_rm is vulnerable to Race Condition (TOCTOU) in versions 0.0.1 - 0.10.0.

How to fix this

Upgrade the uu_rm 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