CVE-2023-3894 DOS in jackson-dataformats-text

Medium 5.8 Published Updated

Attackers can cause a denial of service via stack overflow when parsing malicious TOML data using the jackson-dataformats-text library.

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

What is CVE-2023-3894?

CVE-2023-3894 is a medium-severity denial of service vulnerability in FasterXML jackson-dataformats-text, published on 8 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Those using jackson-dataformats-text to parse TOML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

Weakness: CWE-787, CWE-20

Which versions are affected by CVE-2023-3894?

2 open source packages ship an affected version, including com.fasterxml.jackson.dataformat:jackson-dataformat-toml. It affects 1 product.

PackageAffectedFixed in
com.fasterxml.jackson.dataformat:jackson-dataformat-toml MavenAll versions2.15.0
com.fasterxml.jackson.dataformat:jackson-dataformat-toml MavenAll versions2.15.0

Products include Fasterxml Jackson-Dataformats-Text.

How do I fix CVE-2023-3894?

Upgrade com.fasterxml.jackson.dataformat:jackson-dataformat-toml to 2.15.0 or later.

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-2023-3894 being exploited?

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

Sources

Also known as GHSA-rg2c-cfxv-qp6f, ROOT-APP-MAVEN-CVE-2023-3894.

Is CVE-2023-3894 in your software?

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

Check your SBOMs for free