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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
OwslibOsgeo0.24.1 (including)0.24.1 (including)
PywpsOsgeo*4.4.5 (excluding)
PywpsUbuntubionic*
PywpsUbuntufocal*
PywpsUbuntuhirsute*
PywpsUbuntuimpish*
PywpsUbuntukinetic*
PywpsUbuntutrusty*
PywpsUbuntuupstream*
PywpsUbuntuxenial*

Potential Mitigations

References