CVE-2015-9239 Regular Expression Denial of Service in ansi2html

High 7.5 Published Updated

Attackers can cause denial of service in ansi2html by submitting specially crafted input that triggers excessive regular expression processing.

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-2015-9239?

CVE-2015-9239 is a high-severity denial of service vulnerability in HackerOne ansi2html node module, published on 31 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ansi2html is vulnerable to regular expression denial of service (ReDoS) when certain types of user input is passed in.

Weakness: CWE-20, CWE-400

Which versions are affected by CVE-2015-9239?

2 open source packages ship an affected version, including ansi2html. It affects 1 product.

PackageAffectedFixed in
ansi2html npmFrom 0.0.0None
ansi2html npmFrom 0.0.0None

Products include Ansi2html Project Ansi2html.

How do I fix CVE-2015-9239?

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

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

Sources

Also known as GHSA-c2v2-7rcg-2ch7.

Is CVE-2015-9239 in your software?

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

Check your SBOMs for free