Bug 2081484 (CVE-2022-0839)

Summary: CVE-2022-0839 liquibase: Improper Restriction of XML External Entity
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bbuckingham, bcourt, boliveir, chazlett, dgoodwin, ehelms, extras-orphan, jochrist, jsherril, jwon, loleary, lzap, mhulan, nmoumoul, orabin, pcreech, pdrozd, pjindal, pskopek, rchan, spinder, sthorger, theute
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: liquibase 4.8.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Liquiibase's XMLChangeLogSAXParser() function. It uses SAXParser with no FEATURE_SECURE_PROCESSING set, which could possibly allow XML External Entity (XXE) attacks.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2081485, 2081489, 2081490    
Bug Blocks: 2062495    

Description Anten Skrabec 2022-05-03 21:20:22 UTC
The XMLChangeLogSAXParser() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.

References:

https://github.com/liquibase/liquibase/commit/33d9d925082097fb1a3d2fc8e44423d964cd9381

Comment 1 Anten Skrabec 2022-05-03 21:20:34 UTC
Created liquibase tracking bugs for this issue:

Affects: epel-7 [bug 2081485]