CVE-2019-3774 Spring Batch XML External Entity Injection (XXE)

Critical 9.8 Published Updated

Attackers can exploit XML External Entity injection in Spring Batch to read sensitive files or cause denial of service via malicious XML input.

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

CVE-2019-3774 is a critical vulnerability in Spring Batch, published on 18 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Spring Batch versions 3.0.9, 4.0.1, 4.1.0, and older unsupported versions, were susceptible to XML External Entity Injection (XXE) when receiving XML data from untrusted sources.

Weakness: CWE-611

Which versions are affected by CVE-2019-3774?

6 open source packages ship an affected version, including org.springframework.batch:spring-batch-core. It affects 1 product.

PackageAffectedFixed in
org.springframework.batch:spring-batch-core MavenAll versions3.0.10.RELEASE
org.springframework.batch:spring-batch-core MavenAll versions3.0.10.RELEASE
org.springframework.batch:spring-batch-core MavenFrom 4.0.0.RELEASE4.0.2.RELEASE
org.springframework.batch:spring-batch-core MavenFrom 4.0.0.RELEASE4.0.2.RELEASE
org.springframework.batch:spring-batch-core MavenFrom 4.1.0.RELEASE4.1.1.RELEASE
org.springframework.batch:spring-batch-core MavenFrom 4.1.0.RELEASE4.1.1.RELEASE

Products include Broadcom Spring Batch.

How do I fix CVE-2019-3774?

Upgrade org.springframework.batch:spring-batch-core to a fixed version for your release line: 3.0.10.RELEASE, 4.0.2.RELEASE or 4.1.1.RELEASE.

Is CVE-2019-3774 being exploited?

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

Sources

Also known as GHSA-3wc8-659g-r88q.

Is CVE-2019-3774 in your software?

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

Check your SBOMs for free