CVE-2010-2197 Path traversal in n/a

Medium 5.8 Published Updated

Attackers can delete home directories by tricking users into building RPMs with malicious spec files containing specific syntax sequences.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2010-2197?

CVE-2010-2197 is a medium-severity path traversal vulnerability in n/a, published on 8 Jun 2010. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

rpmbuild in RPM 4.8.0 and earlier does not properly parse the syntax of spec files, which allows user-assisted remote attackers to remove home directories via vectors involving a ;~ (semicolon tilde) sequence in a Name tag.

Weakness: CWE-264

Which versions are affected by CVE-2010-2197?

It affects 1 product.

Products include Rpm Rpm.

How do I fix CVE-2010-2197?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2010-2197 being exploited?

There is no known exploitation of CVE-2010-2197 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2010-2197, GHSA-6gj2-w23f-chf3.

Is CVE-2010-2197 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free