{"id":"UBUNTU-CVE-2021-39371","details":"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.","modified":"2025-10-24T04:50:29Z","published":"2021-08-23T01:15:00Z","upstream":["CVE-2021-39371"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39371"},{"type":"REPORT","url":"https://github.com/geopython/OWSLib/issues/790"},{"type":"REPORT","url":"https://github.com/geopython/pywps/pull/616"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-39371"}],"affected":[{"package":{"name":"pywps","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pywps@4.0.0-5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.0-4","4.0.0-5"],"ecosystem_specific":{"binaries":[{"binary_name":"python-pywps","binary_version":"4.0.0-5"},{"binary_name":"pywps","binary_version":"4.0.0-5"},{"binary_name":"pywps-wsgi","binary_version":"4.0.0-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39371.json"}},{"package":{"name":"pywps","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pywps@4.2.4-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-1ubuntu1","4.2.2-1","4.2.3-1","4.2.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.2.4-1","binary_name":"python3-pywps"},{"binary_name":"pywps","binary_version":"4.2.4-1"},{"binary_name":"pywps-wsgi","binary_version":"4.2.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39371.json"}},{"package":{"name":"pywps","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pywps@4.5.1-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.11-1","4.5.0-1","4.5.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pywps","binary_version":"4.5.1-1"},{"binary_name":"pywps","binary_version":"4.5.1-1"},{"binary_version":"4.5.1-1","binary_name":"pywps-wsgi"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39371.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}