Bug 2081484 (CVE-2022-0839) - CVE-2022-0839 liquibase: Improper Restriction of XML External Entity
Summary: CVE-2022-0839 liquibase: Improper Restriction of XML External Entity
Keywords:
Status: NEW
Alias: CVE-2022-0839
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2081485 2081489 2081490
Blocks: 2062495
TreeView+ depends on / blocked
 
Reported: 2022-05-03 21:20 UTC by Anten Skrabec
Modified: 2023-07-07 08:32 UTC (History)
23 users (show)

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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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]


Note You need to log in before you can comment on or make changes to this bug.