CVE-2018-17228 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via shell metacharacters in the includeHosts method of the nmap4j library.

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-2018-17228?

CVE-2018-17228 is a critical command injection vulnerability in n/a, published on 19 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

nmap4j 1.1.0 allows attackers to execute arbitrary commands via shell metacharacters in an includeHosts call.

Weakness: CWE-78

Which versions are affected by CVE-2018-17228?

It affects 1 product.

Products include Nmap4j Project Nmap4j.

How do I fix CVE-2018-17228?

No fix has been published for CVE-2018-17228 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-2018-17228 being exploited?

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

Sources

Also known as GHSA-frmm-xf84-58wx.

Is CVE-2018-17228 in your software?

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

Check your SBOMs for free