High severityNVD Advisory· Published Mar 7, 2023· Updated Feb 25, 2025
XML External Entity (XXE) Injection in OWSLib
CVE-2023-27476
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
OWSLibPyPI | < 0.28.1 | 0.28.1 |
Affected products
2Patches
Vulnerability mechanics
References
11- github.com/advisories/GHSA-8h9c-r582-mggcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-27476ghsaADVISORY
- securitylab.github.com/advisories/GHSL-2022-131_owslibghsaADVISORY
- github.com/geopython/OWSLib/pull/863ghsaWEB
- github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122fghsax_refsource_MISCWEB
- github.com/geopython/OWSLib/releases/tag/0.28.1ghsaWEB
- github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggcghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/owslib/PYSEC-2023-86.yamlghsaWEB
- lists.debian.org/debian-lts-announce/2023/06/msg00032.htmlghsaWEB
- securitylab.github.com/advisories/GHSL-2022-131_owslib/mitrex_refsource_MISC
- www.debian.org/security/2023/dsa-5426ghsaWEB
News mentions
0No linked articles in our index yet.