CVE-2021-39371Osgeo Owslib
High 7.5 No auth needed
Follow: this CVE · Osgeo · Osgeo Owslib We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Aug 23, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
An XML external entity (XXE) injection in PyWPS before 4.4.5 allows an attacker to view files on the application server filesystem by assigning a path to the entity. OWSLib 0.24.1 may also be affected.
What to do
- Apply the vendor's security update for Owslib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pywps |
< 4.5.0 |
4.5.0 |
pip install "pywps>=4.5.0" |
| PyPI | pywps |
< 4.5.0 |
4.5.0 |
pip install "pywps>=4.5.0" |
Per OSV / GitHub Advisories (GHSA-p9wf-3xpg-c9g5, PYSEC-2021-121). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | owslib | 0.24.1 |
| osgeo | pywps | < 4.4.5 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory