{"schemaVersion":3,"id":"CVE-2021-39371","aliases":["GHSA-p9wf-3xpg-c9g5","PYSEC-2021-121","UBUNTU-CVE-2021-39371","DEBIAN-CVE-2021-39371","DLA-2754-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-08-23T00:03:20.000Z","modified":"2024-08-04T02:06:42.375Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01524,"percentile":0.74271,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01524},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01524,"percentile":0.74271}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01524,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01524,"percentile":0.74271}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"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.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"debian","product":"pywps","name":"pywps","label":"pywps","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pywps","purlType":"deb","versions":[{"text":"< 4.5.0-1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.0-3+deb9u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.0-1 | < 4.0.0-3+deb9u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pywps","name":"pywps","label":"pywps","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pywps","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"osgeo","product":"owslib","name":"owslib","label":"owslib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.24.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.24.1","eol":null,"hubHref":"/vendor/osgeo/owslib"},{"vendor":"osgeo","product":"pywps","name":"pywps","label":"pywps","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.4.5","eol":null,"hubHref":"/vendor/osgeo/pywps"},{"vendor":"PyPI","product":"pywps","name":"pywps","label":"pywps","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pywps","purlType":"pypi","versions":[{"text":"< 4.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.0","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/geopython/pywps/pull/616","label":"github.com/geopython/pywps/pull/616","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch","Third Party Advisory"]},{"url":"https://github.com/geopython/OWSLib/issues/790","label":"github.com/geopython/OWSLib/issues/790","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html","label":"lists.debian.org/debian-lts-announce/2021/09/msg00001.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39371","label":"nvd.nist.gov/vuln/detail/CVE-2021-39371","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee","label":"github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-p9wf-3xpg-c9g5","label":"github.com/advisories/GHSA-p9wf-3xpg-c9g5","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/geopython/pywps","label":"github.com/geopython/pywps","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-39371","label":"ubuntu.com/security/CVE-2021-39371","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39371","label":"www.cve.org/CVERecord?id=CVE-2021-39371","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-39371","label":"security-tracker.debian.org/tracker/CVE-2021-39371","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-23T00:03:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T02:06:42.375Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:26:40.182Z","stale":false,"partial":false}}