Intel

AIKIDO-2026-73677

uu_install is vulnerable to Improper Handling of Path Equivalence

Improper Handling of Path EquivalenceGHSA-x2p7-fq8x-g67j Published 3 days ago

28

Low Risk

This Affects:

RUSTuu_install
0.0.1 - 0.9.0
Fixed in 0.10.0
Are you affected? Scan for Free

TL;DR

install --backup computes a backup path but does not check whether that path is the source file itself, unlike cp. When the backup name matches the source (for example install --backup=simple a~ a), the backup overwrites the source, the copy reads the overwritten file, the destination stays unchanged, and the command exits with success while the source data is destroyed. The fix adds a same file guard before creating the backup.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use install --backup where the computed backup name can refer to the same file as the source.

Background info

uu_install is vulnerable to Improper Handling of Path Equivalence in versions 0.0.1 - 0.9.0.

How to fix this

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