7.5high
XML External Entity Injection in PyWPS
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.52% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-p9wf-3xpg-c9g5PYSEC-2021-121
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pywps (PyPI) | before 4.5.0 | GitHub Advisory Database, PyPA Advisory Database |
| osgeo owslib | 0.24.1 | NVD |
| osgeo pywps | before 4.4.5 | NVD |
| debian debian_linux | 9.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Una inyección de entidad externa XML (XXE) en PyWPS antes de la versión 4.4.5 permite a un atacante ver archivos en el sistema de archivos del servidor de aplicaciones asignando una ruta a la entidad. OWSLib versión 0.24.1 también puede estar afectado
References
| https://github.com/geopython/pywps/pull/616 | patch, third-party-advisory, web | |
| https://github.com/geopython/OWSLib/issues/790 | issue-tracking, patch, report, 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39371 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p9wf-3xpg-c9g5 changed 2024-10-24 | CC-BY-4.0 |
| NVD | CVE-2021-39371 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-121 changed 2023-11-08 | CC-BY-4.0 |