CVE-2015-4035 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary code by tricking users into running xzgrep on a crafted filename containing semicolons.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2015-4035?

CVE-2015-4035 is a high-severity command injection vulnerability in n/a, published on 25 Jul 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

scripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing semicolons, which allows remote attackers to execute arbitrary code by having a user run xzgrep on a crafted file name.

Weakness: CWE-20

Which versions are affected by CVE-2015-4035?

It affects 1 product.

Products include Tukaani Xz.

How do I fix CVE-2015-4035?

No fix has been published for CVE-2015-4035 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2015-4035 being exploited?

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

Sources

Also known as GHSA-mf33-8p24-6h53.

Is CVE-2015-4035 in your software?

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

Check your SBOMs for free