{"id":"CVE-2021-39371","aliases":["DEBIAN-CVE-2021-39371","DLA-2754-1","EUVD-2021-0215","GHSA-p9wf-3xpg-c9g5","PYSEC-2021-121","UBUNTU-CVE-2021-39371"],"status":"published","title":"XML External Entity Injection in PyWPS","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01524,"percentile":0.74984,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611","CWE-91"],"published":"2021-08-23T00:03:20Z","modified":"2026-10-23T18:00:20Z","fixes":[{"ecosystem":"PyPI","package":"pywps","fixed_in":["4.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"pywps","fixed_in":["4.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pywps","fixed_in":["4.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pywps","fixed_in":["4.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"pywps","fixed_in":["4.0.0-3+deb9u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-3+deb9u1"}]}],"versions":["4.0.0-3"]},{"source":"osv","ecosystem":"PyPI","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0"}]}],"versions":["3.2.3","3.2.4","3.2.5","3.2.6","4.0.0","4.2.0","4.2.1","4.2.10","4.2.11","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","trunk"]},{"source":"osv","ecosystem":"PyPI","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0"}]}],"versions":["3.2.3","3.2.4","3.2.5","3.2.6","4.0.0","4.2.0","4.2.1","4.2.10","4.2.11","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","trunk"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-4","4.0.0-5"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-1ubuntu1","4.2.2-1","4.2.3-1","4.2.4-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pywps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.11-1","4.5.0-1","4.5.1-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"osgeo","product":"owslib"},{"vendor":"osgeo","product":"pywps"}],"references":[{"url":"https://github.com/geopython/pywps/pull/616","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/geopython/OWSLib/issues/790","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39371","tags":["advisory"]},{"url":"https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p9wf-3xpg-c9g5","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-39371","tags":["advisory"]},{"url":"https://github.com/geopython/pywps","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-39371","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39371","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-39371","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.","status":"published","published":"2021-08-23T00:03:20Z","modified":"2024-08-04T02:06:42.375Z","updated_at":"2026-11-02T14:33:09.175141Z"}],"euvd":[{"id":"EUVD-2021-0215","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.","status":"published","published":"2021-08-23T00:03:20Z","modified":"2024-08-04T02:06:42Z","updated_at":"2026-11-03T03:24:23.719378Z"}],"ghsa":[{"id":"GHSA-p9wf-3xpg-c9g5","title":"XML External Entity Injection in PyWPS","description":"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.","status":"published","published":"2021-09-02T17:11:13Z","modified":"2024-10-24T21:53:22Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-91","CWE-611"],"updated_at":"2026-11-02T14:38:13.09489Z"}],"nvd":[{"id":"CVE-2021-39371","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.","status":"published","published":"2021-08-23T01:15:06.373Z","modified":"2026-06-17T04:03:38.563Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:06:57.318236Z"}],"osv":[{"id":"CVE-2021-39371","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.","status":"published","published":"2021-08-23T01:15:06.373Z","modified":"2026-10-20T10:53:54.389716169Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"DEBIAN-CVE-2021-39371","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.","status":"published","published":"2021-08-23T01:15:06.373Z","modified":"2026-10-23T18:00:20.233347231Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"GHSA-p9wf-3xpg-c9g5","title":"XML External Entity Injection in PyWPS","description":"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.","status":"published","published":"2021-09-02T17:11:13Z","modified":"2024-10-24T22:27:01.351492Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-611","CWE-91"],"updated_at":"2026-11-02T15:46:52.891208Z"},{"id":"UBUNTU-CVE-2021-39371","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.","status":"published","published":"2021-08-23T01:15:00Z","modified":"2025-10-24T04:50:29Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"DLA-2754-1","title":"pywps - security update","status":"published","published":"2021-09-04T00:00:00Z","modified":"2026-03-09T01:23:08.005118Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"PYSEC-2021-121","description":"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.","status":"published","published":"2021-08-23T01:15:00Z","modified":"2023-11-08T04:06:35.706904Z","updated_at":"2026-11-02T15:52:52.682031Z"}]}}
