Bug 2176416 (CVE-2023-27476) - CVE-2023-27476 python-OWSLib: XML External Entity (XXE) Injection
Summary: CVE-2023-27476 python-OWSLib: XML External Entity (XXE) Injection
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2023-27476
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2176417 2176418 2176419
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-08 10:57 UTC by Mauro Matteo Cascella
Modified: 2023-03-08 14:24 UTC (History)
0 users

Fixed In Version: python-OWSLib 0.28.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-08 14:24:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2023-03-08 10:57:09 UTC
OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue has been addressed in version 0.28.1.

GitHub Security Advisory:
https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc

Upstream fix:
https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f

Comment 1 Mauro Matteo Cascella 2023-03-08 10:57:29 UTC
Created mingw-python-OWSLib tracking bugs for this issue:

Affects: fedora-all [bug 2176418]


Created python-OWSLib tracking bugs for this issue:

Affects: epel-all [bug 2176417]
Affects: fedora-all [bug 2176419]

Comment 2 Product Security DevOps Team 2023-03-08 14:24:47 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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