{"id":"CVE-2021-39371","aliases":["CVE-2021-39371","GHSA-p9wf-3xpg-c9g5","PYSEC-2021-121"],"related":[],"kind":"vulnerability","state":"published","title":"XML External Entity Injection in PyWPS","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-08-23T00:03:20.000Z","modified":"2026-06-17T04:03:38.563Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-91","CWE-611"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.5.0"}],"ecosystem":"PyPI","package":"pywps","purl":"pkg:pypi/pywps","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.24.1"}],"vendor":"osgeo","product":"owslib","cpe":"cpe:2.3:a:osgeo:owslib:0.24.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"4.4.5"}],"vendor":"osgeo","product":"pywps","cpe":"cpe:2.3:a:osgeo:pywps:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.5.0"}],"ecosystem":"PyPI","package":"pywps","purl":"pkg:pypi/pywps","source":"pysec"}],"references":[{"url":"https://github.com/geopython/pywps/pull/616","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/geopython/OWSLib/issues/790","tags":["issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39371","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-p9wf-3xpg-c9g5","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/geopython/pywps","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39371","url":"https://www.cve.org/CVERecord?id=CVE-2021-39371","licence":"CVE Terms of Use","modified":"2024-08-04T02:06:42.375Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p9wf-3xpg-c9g5","url":"https://github.com/advisories/GHSA-p9wf-3xpg-c9g5","licence":"CC-BY-4.0","modified":"2024-10-24T22:27:01.351Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39371","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39371","licence":"Public domain","modified":"2026-06-17T04:03:38.563Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-121","url":"https://osv.dev/vulnerability/PYSEC-2021-121","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:35.706Z"}],"updatedAt":"2026-11-25T22:58:03.351Z","epss":{"score":0.01524,"percentile":0.75392,"date":"2026-12-01T12:00:22.000Z"}}