high7.5
CVE-2021-39371
XML External Entity Injection in PyWPS
Impact
An XML external entity (XXE) injection in PyWPS before 4.5.0 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pywps | < 4.5.0 | 4.5.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Osgeo | Owslib | Version 0.24.1 |
| Osgeo | Pywps | before 4.4.5 |
| Debian | Debian Linux | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/geopython/OWSLib/issues/790
- https://github.com/geopython/pywps/pull/616
- https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html
- https://github.com/advisories/GHSA-p9wf-3xpg-c9g5
- https://nvd.nist.gov/vuln/detail/CVE-2021-39371
- https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee
- https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml