CVE-2021-39371
HIGH 7.5CVSS 3.1XML External Entity Injection in PyWPS
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.
- Published
- 23 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-611CWE-91
- Also known as
- GHSA-p9wf-3xpg-c9g5PYSEC-2021-121
- Sources
- NVDJSONOSV GHSA-p9wf-3xpg-c9g5JSONOSV PYSEC-2021-121JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | owslibcpe:2.3:a:osgeo:owslib:0.24.1:*:*:*:*:*:*:* |
= 0.24.1 | |
| NVD | osgeo | pywpscpe:2.3:a:osgeo:pywps:*:*:*:*:*:*:*:* |
< 4.4.5 | 4.4.5 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | PyPI | pywps | < 4.5.0 | 4.5.0 |
References
- https://github.com/geopython/OWSLib/issues/790 · Issue Tracking, Patch, Third Party Advisory, WEB, REPORT
- https://github.com/geopython/pywps/pull/616 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-39371 · ADVISORY
- https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee · WEB
- https://github.com/advisories/GHSA-p9wf-3xpg-c9g5 · ADVISORY
- https://github.com/geopython/pywps · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 23 Aug 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Aug 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Sep 2021)