CVE-2017-14120 Path traversal in n/a

High 7.5 Published Updated

Attackers can write files to arbitrary directories via crafted RAR v2 archives, potentially overwriting critical system files.

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-14120?

CVE-2017-14120 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 3 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

unrar 0.0.1 (aka unrar-free or unrar-gpl) suffers from a directory traversal vulnerability for RAR v2 archives: pathnames of the form ../[filename] are unpacked into the upper directory.

Weakness: CWE-22

Which versions are affected by CVE-2017-14120?

It affects 2 products.

Products include Debian Debian Linux, Rarlab Unrar.

How do I fix CVE-2017-14120?

Apply the vendor's patch.

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

Is CVE-2017-14120 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-14120, DLA-1091-1, GHSA-29ph-vc5w-7vvg, UBUNTU-CVE-2017-14120.

Is CVE-2017-14120 in your software?

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

Check your SBOMs for free