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
Alias: CVE-2023-27476
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2176417 2176418 2176419
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:
Last Closed: 2023-03-08 14:24:49 UTC

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:

Upstream fix:

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.