CVE-2017-1000026 mixlib-archive Path Traversal vulnerability

High 7.5 Published Updated

Attackers can overwrite arbitrary files via directory traversal in tar archives, affecting users of the mixlib-archive Ruby library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1000026?

CVE-2017-1000026 is a high-severity path traversal vulnerability in n/a, published on 13 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Chef Software's mixlib-archive versions 0.3.0 and older are vulnerable to a directory traversal attack allowing attackers to overwrite arbitrary files by using ".." in tar archive entries

Weakness: CWE-22

Which versions are affected by CVE-2017-1000026?

2 open source packages ship an affected version, including mixlib-archive. It affects 1 product.

PackageAffectedFixed in
mixlib-archive RubyGemsAll versions0.4.0
mixlib-archive RubyGemsAll versions0.4.0

Products include Progress Mixlib-Archive.

How do I fix CVE-2017-1000026?

Upgrade mixlib-archive to 0.4.0 or later.

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

Is CVE-2017-1000026 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-1000026, DSA-3915-1, GHSA-98wx-cw86-c97x.

Is CVE-2017-1000026 in your software?

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

Check your SBOMs for free