High severity · published Mar 8, 2023
CVE-2023-27476
OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models
7.5
CVSS
1%
EPSS
No
On KEV
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 patch the library manually. See `GHSA-8h9c-r582-mggc` for details.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 62% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OW
Owslib · Osgeo
before 0.28.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-27476
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-27476
Patch
https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f
Vendor Advisory
https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html
Broken Link
https://securitylab.github.com/advisories/GHSL-2022-131_owslib/
www.debian.org
https://www.debian.org/security/2023/dsa-5426
More from Owslib
7.5
CVE-2021-39371
An XML external entity (XXE) injection in PyWPS before 4.4.5 allows an attacker to view files on the application server filesystem by assigning a path to the entity
