Vulnerability Details : CVE-2021-39371
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.
Vulnerability category: XML external entity (XXE) injection
Exploit prediction scoring system (EPSS) score for CVE-2021-39371
Probability of exploitation activity in the next 30 days: 0.18%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 54 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-39371
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-39371
-
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-39371
-
https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html
[SECURITY] [DLA 2754-1] pywps security updateMailing List;Third Party Advisory
-
https://github.com/geopython/pywps/pull/616
Fix lxml default parser by cehbrecht · Pull Request #616 · geopython/pywps · GitHubPatch;Third Party Advisory
-
https://github.com/geopython/OWSLib/issues/790
Propose to replace lxml with defusedxml · Issue #790 · geopython/OWSLib · GitHubIssue Tracking;Patch;Third Party Advisory
Products affected by CVE-2021-39371
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:pywps:*:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:owslib:0.24.1:*:*:*:*:*:*:*