CVE-2023-27476
published high CVSS 3.1 · 8.2XML External Entity (XXE) Injection in OWSLib
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| geopython | — | OWSLib< 0.28.1 | Affected | Not stated | GitHub_M |
| Debian | bullseye | owslib | Advisory build | 0.23.0-1+deb11u1 | DSA-5426-1 |
| Ubuntu | bionic | owslib | Advisory build | 0.16.0-1ubuntu0.1~esm1 | USN-8247-1 |
| Debian | buster | owslib | Advisory build | 0.17.1-1+deb10u1 | DLA-3470-1 |
| Ubuntu | bionic | python-owslib | Advisory build | 0.16.0-1ubuntu0.1~esm1 | USN-8247-1 |
| Ubuntu | bionic | python3-owslib | Advisory build | 0.16.0-1ubuntu0.1~esm1 | USN-8247-1 |
| Ubuntu | focal | owslib | Advisory build | 0.19.1-1ubuntu0.1~esm1 | USN-8247-1 |
| Ubuntu | focal | python3-owslib | Advisory build | 0.19.1-1ubuntu0.1~esm1 | USN-8247-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | owslib | Advisory build | 0.25.0-1ubuntu0.1~esm1 | USN-8247-1 |
| Ubuntu | jammy | python3-owslib | Advisory build | 0.25.0-1ubuntu0.1~esm1 | USN-8247-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| geopython | OWSLib | < 0.28.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
5- https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f
- https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc
- https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html
- https://securitylab.github.com/advisories/GHSL-2022-131_owslib/
- https://www.debian.org/security/2023/dsa-5426
Provider assertions
3GitHub_M · cna
XML External Entity (XXE) Injection in OWSLib
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 869ee8c9deb0166cdd709aa186637d592b44b609e84901fdcb4ecb1a3fab5b0b
- Ingested
- 23 Sep 2026, 08:07:24 UTC
- Source record
- Official CVE record