CVE-2019-17664 Path traversal in n/a

High 7.8 Published Updated

Attackers can execute arbitrary code by placing a malicious cmd.exe in the working directory when launching the Python interpreter in Ghidra.

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
None listed

What is CVE-2019-17664?

CVE-2019-17664 is a high-severity path traversal vulnerability in n/a, published on 16 Oct 2019. 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

NSA Ghidra through 9.0.4 uses a potentially untrusted search path. When executing Ghidra from a given path, the Java process working directory is set to this path. Then, when launching the Python interpreter via the "Ghidra Codebrowser > Window > Python" option, Ghidra will try to execute the cmd.exe program from this working directory.

Weakness: CWE-426

Which versions are affected by CVE-2019-17664?

It affects 1 product.

Products include Nsa Ghidra.

How do I fix CVE-2019-17664?

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

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

Is CVE-2019-17664 being exploited?

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

Sources

Also known as GHSA-j2f2-77f8-cgrm.

Is CVE-2019-17664 in your software?

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

Check your SBOMs for free