CVE-2018-17202 Infinite Loop in Apache Sanselan

High 7.5 Published Updated

Attackers can cause a denial of service via infinite loop when parsing malicious input files with Apache Commons Imaging.

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

CVE-2018-17202 is a high-severity denial of service vulnerability in Apache Commons Imaging, published on 6 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Certain input files could make the code to enter into an infinite loop when Apache Sanselan 0.97-incubator was used to parse them, which could be used in a DoS attack. Note that Apache Sanselan (incubating) was renamed to Apache Commons Imaging.

Weakness: CWE-835

Which versions are affected by CVE-2018-17202?

2 open source packages ship an affected version, including org.apache.sanselan:sanselan. It affects 1 product.

PackageAffectedFixed in
org.apache.sanselan:sanselan MavenAll versions to 0.97-incubatorNone
org.apache.sanselan:sanselan MavenAll versions to 0.97-incubatorNone

Products include Apache Commons Imaging.

How do I fix CVE-2018-17202?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-17202 being exploited?

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

Sources

Also known as GHSA-g99m-3m46-4gm9.

Is CVE-2018-17202 in your software?

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

Check your SBOMs for free