PT-2020-17093 · Lxml+1 · Lxml+1

Nvn1729

·

Published

2020-11-26

·

Updated

2021-04-20

·

CVE-2020-29128

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions petl versions prior to 1.68
Description The issue allows resolution of entities in an XML document, potentially leading to information disclosure. An attacker who can submit XML input to an application using petl can disclose arbitrary files on the file system in the context of the user under which the application is running. This can occur in applications that accept attacker-supplied XML input processed using petl, return the response generated by petl back to the attacker, configure lxml as the underlying XML processing library used by petl, and have read privileges in filesystem files with sensitive information.
Recommendations Update to petl version 1.68 or later. As a temporary workaround, assure there is no user or external access to the application using petl. Assure your application is not using the function fromxml().

Exploit

Fix

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-29128
GHSA-69Q2-P9XP-739V
GHSA-F5GC-P5M3-V347
PYSEC-2020-75

Affected Products

Lxml
Petl