XXE in Geopython Owslib
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. 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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L.
EPSS exploit prediction
EPSS: 0.010 (60.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 60.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: -0.000
Affected products
- Geopython Owslib — versions < 0.28.1
- Osgeo Owslib
Weakness classification (CWE)
References
- github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc (Vendor Advisory)
- github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631… (Patch)
- securitylab.github.com/advisories/GHSL-2022-131_owslib/ (Broken Link)
- www.debian.org/security/2023/dsa-5426
- lists.debian.org/debian-lts-announce/2023/06/msg00032.html
Frequently asked questions
- What is CVE-2023-27476?
- CVE-2023-27476 is a high-severity vulnerability in Geopython Owslib, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 8.2/10. Published 2023-03-08.
- How severe is CVE-2023-27476?
- High severity. CVSS v3 base score is 8.2 out of 10.