CVE-2023-27476

unknown
Published 2023-03-07 Β· Modified 2026-02-22
CVSS v3
β€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
β€”

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.

Predictions

Exploit likelihood
30%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker Β· View original β†— Β· DFSG

CVE-2023-27476 NameCVE-2023-27476 DescriptionOWSLib 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…

Workaround

is to patch the library manually. See `GHSA-8h9c-r582-mggc` for details. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) ReferencesDLA-3470-1, DSA-5426-1 Debian Bugs1034182 Vulnerable and fixed packages The table below lists information on source packages. Source PackageReleaseVersionStatus owslib (PTS)bullseye (security), bullseye0.23.0-1+deb11u1fixed bookworm0.27.2-3fixed trixie0.33.0-1fixed forky0.35.0-1fixed sid0.36.0-1fixed The information below is based on the following data on fixed versions. PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs owslibsourceexperimental0.28.1-1~exp1 owslibsourcebuster0.17.1-1+deb10u1DLA-3470-1 owslibsourcebullseye0.23.0-1+deb11u1DSA-5426-1 owslibsource(unstable)0.27.2-31034182 Notes https://github.com/geopython/OWSLib/commit/d91267303a695d69e73fa71efa100a035852a063 (0.29.0) https://github.com/geopython/OWSLib/commit/b0c687544ddc213d8dcd4a056139b63451938b21 (0.28.1) https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc https://securitylab.github.com/advisories/GHSL-2022-131_OWSLib/

CVE-2023-27476

NameCVE-2023-27476
DescriptionOWSLib 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3470-1, DSA-5426-1
Debian Bugs1034182

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
owslib (PTS)bullseye (security), bullseye0.23.0-1+deb11u1fixed
bookworm0.27.2-3fixed
trixie0.33.0-1fixed
forky0.35.0-1fixed
sid0.36.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
owslibsourceexperimental0.28.1-1~exp1
owslibsourcebuster0.17.1-1+deb10u1DLA-3470-1
owslibsourcebullseye0.23.0-1+deb11u1DSA-5426-1
owslibsource(unstable)0.27.2-31034182

Notes

https://github.com/geopython/OWSLib/commit/d91267303a695d69e73fa71efa100a035852a063 (0.29.0)
https://github.com/geopython/OWSLib/commit/b0c687544ddc213d8dcd4a056139b63451938b21 (0.28.1)
https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc
https://securitylab.github.com/advisories/GHSL-2022-131_OWSLib/

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/geopython/OWSLib/commit/d91267303a695d69e73fa71efa100a035852a063 (0.29.0)https://github.com/geopython/OWSLib/commit/b0c687544ddc213d8dcd4a056139b63451938b21 (0.28.1)https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggchttps://securitylab.github.com/advisories/GHSL-2022-131_OWSLib/

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
β€” Affected β€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 0.27.2-3
sid Fixed 0.27.2-3
forky Fixed 0.27.2-3
bullseye Fixed 0.23.0-1+deb11u1
bookworm Fixed 0.27.2-3

Package impact

EcosystemPackageVulnerableFixed
python PyPIowslib<0.28.10.28.1
python PyPIowslib<b92687702be9576c0681bb11cad21eb631b9122f||<0.28.1b92687702be9576c0681bb11cad21eb631b9122f

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.