CVE-2021-41411 XML External Entity Reference in drools

Critical 9.8 Published Updated

An attacker can exploit an XML External Entity vulnerability in the Drools rules engine to read sensitive files or cause denial of service.

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

What is CVE-2021-41411?

CVE-2021-41411 is a critical vulnerability in n/a, published on 16 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

drools <=7.59.x is affected by an XML External Entity (XXE) vulnerability in KieModuleMarshaller.java. The Validator class is not used correctly, resulting in the XXE injection vulnerability.

Weakness: CWE-611

Which versions are affected by CVE-2021-41411?

2 open source packages ship an affected version, including org.drools:drools-core. It affects 1 product.

PackageAffectedFixed in
org.drools:drools-core MavenAll versions7.60.0.Final
org.drools:drools-core MavenAll versions7.60.0.Final

Products include Redhat Drools.

How do I fix CVE-2021-41411?

Upgrade org.drools:drools-core to 7.60.0.Final or later.

Is CVE-2021-41411 being exploited?

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

Sources

Also known as GHSA-rc57-9r3x-98cq.

Is CVE-2021-41411 in your software?

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

Check your SBOMs for free