CVE-2019-16941 XML external entity in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via malicious XML files in Ghidra's Bit Patterns Explorer when experimental mode is enabled.

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

What is CVE-2019-16941?

CVE-2019-16941 is a critical vulnerability in n/a, published on 28 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files feature of Bit Patterns Explorer is used with a modified XML document. This occurs in Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfoReader.java. An attack could start with an XML document that was originally created by DumpFunctionPatternInfoScript but then directly modified by an attacker (for example, to make a java.lang.Runtime.exec call).

Weakness: CWE-91

Which versions are affected by CVE-2019-16941?

It affects 1 product.

Products include Nsa Ghidra.

How do I fix CVE-2019-16941?

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

Is CVE-2019-16941 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-gwg5-3r5x-cw74.

Is CVE-2019-16941 in your software?

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

Check your SBOMs for free