CVE-2023-27476XML External Entity (XXE) Injection in Owslib

Severity
7.5HIGHNVD
EPSS
0.2%
top 62.09%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 8

Description

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. All users are advised to upgrade. The only known workaround is to pat

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages5 packages

CVEListV5geopython/owslib< 0.28.1
NVDosgeo/owslib< 0.28.1
PyPIosgeo/owslib< 0.28.1
debiandebian/owslib< owslib 0.27.2-3 (bookworm)
Debianosgeo/owslib< 0.23.0-1+deb11u1+3

Patches

🔴Vulnerability Details

3
OSV
CVE-2023-27476: OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content mod2023-03-08
OSV
OWSLib vulnerable to XML External Entity (XXE) Injection2023-03-07
GHSA
OWSLib vulnerable to XML External Entity (XXE) Injection2023-03-07

📋Vendor Advisories

1
Debian
CVE-2023-27476: owslib - OWSLib is a Python package for client programming with Open Geospatial Consortiu...2023