CVE-2023-27476

XML External Entity (XXE) Injection in OWSLib

Published Mar 7, 2023 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3470-1 owslib security update
Debian DSA Debian DSA DSA-5426-1 owslib security update
EUVD EUVD EUVD-2023-0189 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.
Github GHSA Github GHSA GHSA-8h9c-r582-mggc OWSLib vulnerable to XML External Entity (XXE) Injection
Ubuntu USN Ubuntu USN USN-8247-1 OWSLib vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 25, 2025, 3:00 PM
Reserved
Mar 1, 2023, 7:03 PM
Status
Modified
Published
Mar 8, 2023, 12:15 AM
Modified
Jun 17, 2026, 5:45 AM