Skip to main content
← All vulnerabilities
CVE-2023-27476PYSEC-2023-86GHSA-8H9C-R582-MGGC

XML External Entity (XXE) Injection in OWSLib

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.28.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • geopython OWSLib

    fixed in 0.28.1

  • owslibPyPI

    fixed in 0.28.1

References 5

GitHub · geopython/OWSLib

securitylab.github.com

debian.org

lists.debian.org