CVE Vulnerabilities

CVE-2021-39371

Improper Restriction of XML External Entity Reference

Published: Aug 23, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

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.

Affected Software

Name Vendor Start Version End Version
Owslib Osgeo 0.24.1 (including) 0.24.1 (including)
Pywps Osgeo * 4.4.5 (excluding)
Pywps Ubuntu bionic *
Pywps Ubuntu focal *
Pywps Ubuntu hirsute *
Pywps Ubuntu impish *
Pywps Ubuntu kinetic *
Pywps Ubuntu trusty *
Pywps Ubuntu upstream *
Pywps Ubuntu xenial *

Potential Mitigations

References