CVE-2021-39371 json
XML External Entity Injection in PyWPS
published 2021-08-23 5 y ago modified 2026-06-17 4 mo ago also GHSA-p9wf-3xpg-c9g5 , PYSEC-2021-121 , EUVD-2021-0215
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pywps 4.5.0
- osgeo pywps 4.4.5
- pywps Debian 14, Debian 13, Debian 12 4.5.0-1
debian advisories DEBIAN-CVE-2021-39371
- github.com/geopython/pywps@7d6b26a commit
- github.com/geopython/pywps#616 pull request
- github.com/geopython/OWSLib/issues/790 advisory
Exploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pywps | <4.5.0 |
4.5.0 |
Classification
References
-
github.com
/geopython/pywps/pull/616
web, patch, third-party-advisory
-
github.com
/geopython/OWSLib/issues/790
web, issue-tracking, patch, third-party-advisory, report
-
github.com
/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee
web
-
lists.debian.org
/debian-lts-announce/2021/09/msg00001.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39371
advisory
-
github.com
/advisories/GHSA-p9wf-3xpg-c9g5
advisory
-
github.com
/geopython/pywps
package
-
github.com
/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml
web
Sources
- CVE List CVE-2021-39371
- GitHub Advisory GHSA-p9wf-3xpg-c9g5
- NVD CVE-2021-39371
- OSV PYSEC-2021-121
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.