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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:osgeo:owslib:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:52

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 8.2
References () https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f - Patch () https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f - Patch
References () https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc - Vendor Advisory () https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc - Vendor Advisory
References () https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html - () https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html -
References () https://securitylab.github.com/advisories/GHSL-2022-131_owslib/ - Broken Link () https://securitylab.github.com/advisories/GHSL-2022-131_owslib/ - Broken Link
References () https://www.debian.org/security/2023/dsa-5426 - () https://www.debian.org/security/2023/dsa-5426 -

25 Jun 2023, 21:15

Type Values Removed Values Added
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html -

14 Jun 2023, 16:15

Type Values Removed Values Added
References
  • (MISC) https://www.debian.org/security/2023/dsa-5426 -

Information

Published : 2023-03-08 00:15

Updated : 2024-11-21 07:52


NVD link : CVE-2023-27476

Mitre link : CVE-2023-27476

CVE.ORG link : CVE-2023-27476


JSON object : View

Products Affected

osgeo

  • owslib
CWE
CWE-611

Improper Restriction of XML External Entity Reference