CVE-2023-27476
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.
How to fix
- osgeo owslib0.28.1 or later
- owslib0.28.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| osgeo owslib | v < 0.28.1 | 0.28.1 |
| owslibPyPI | v < 0.28.1 | 0.28.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.