CVE-2019-5427 Billion laughs attack in c3p0

High 7.5 Published Updated

An attacker can cause denial of service via a billion laughs attack in c3p0 due to missing protections against recursive entity expansion in XML configuration.

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

What is CVE-2019-5427?

CVE-2019-5427 is a high-severity vulnerability in Fedoraproject Fedora, published on 22 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

c3p0 version < 0.9.5.4 may be exploited by a billion laughs attack when loading XML configuration due to missing protections against recursive entity expansion when loading configuration.

Weakness: CWE-776

Which versions are affected by CVE-2019-5427?

2 open source packages ship an affected version, including com.mchange:c3p0. It affects 11 products.

PackageAffectedFixed in
com.mchange:c3p0 MavenAll versions0.9.5.4
com.mchange:c3p0 MavenAll versions0.9.5.4
Linux distribution packages (1)
c3p0 openSUSE:TumbleweedAll versions0.9.5.5-2.1

Products include Fedoraproject Fedora, Mchange C3p0, Oracle Communications Ip Service Activator, Oracle Communications Session Route Manager, Oracle Documaker, Oracle Enterprise Manager Base Platform and 5 more.

How do I fix CVE-2019-5427?

Upgrade com.mchange:c3p0 to 0.9.5.4 or later.

Is CVE-2019-5427 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-5427, GHSA-84p2-vf58-xhxv, UBUNTU-CVE-2019-5427, USN-5293-1, USN-5293-2, USN-7571-1 and 1 more.

Is CVE-2019-5427 in your software?

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

Check your SBOMs for free