Bug 2249147 (CVE-2021-41411)

Summary: CVE-2021-41411 drools-compiler: XML External Entity vulnerability in KieModuleMarshaller.java
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dhanak, ibek, jrokos, kverlaen, mnovotny, pjindal, rguimara
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: drools 7.60 Doc Type: ---
Doc Text:
A flaw was found in the XML external entity injection vulnerability in the KieModuleMarshaller.java module of drools-compiler. This issue may lead to the disclosure of sensitive information.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-04 14:46:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2249148    

Description Pedro Sampaio 2023-11-10 21:37:01 UTC
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.

References:

https://github.com/apache/incubator-kie-drools/pull/3808