Advisory

PYSEC-2023-86

Also known as: CVE-2023-27476, GHSA-8h9c-r582-mggc

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-03-08 00:15 UTC
Modified
2026-02-22 22:49 UTC

Affected packages and fixes

owslib

PyPI · All systems

Affected

  • introduced 0, fixed 0.28.1 (ecosystem)

Fixed versions

0.28.1

Fix

  • Fixed version 0.28.1
    pip install --upgrade owslib==0.28.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences