GHSA-f5gc-p5m3-v347

    Dashboard / Vulnerabilities / GHSA-f5gc-p5m3-v347

    GHSA-f5gc-p5m3-v347

    Published: 2 Dec 2020Last Modified: 10 Sept 2026

    Summary: XXE in petl

    Details: ### Impact Information Disclosure ### Summary [petl](https://github.com/petl-developers/petl) is a Python library that provides functions for extraction, transformation, and loading (ETL) of data. petl before 1.68, in some configurations, allows resolution of entities in XML input. An attacker who is able to 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. ### Affected Applications Applications that: - accept attacker-supplied XML input that is processed using petl < 1.68 - return the response generated by petl back to the attacker - configure lxml as the underlying XML processing library used by petl - have read privileges in filesystem files with sensitive information ### Mitigation Update to petl >= 1.68 ### Workarounds - Assure there is no user/external access to the application using [petl](https://github.com/petl-developers/petl) - Assure your application is not using the function [fromxml()](https://petl.readthedocs.io/en/stable/io.html#petl.io.xml.fromxml) ### References - https://github.com/nvn1729/advisories/blob/master/cve-2020-29128.md - https://github.com/petl-developers/petl/pull/527 - https://github.com/petl-developers/petl/releases/tag/v1.6.8 - https://petl.readthedocs.io/en/stable/changes.html - https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing ### For more information If you have any questions or comments about this advisory: * Add a comment in the Github [issue](https://github.com/petl-developers/petl/pull/527) Thaks to Naveen Sunkavally.

    Affected packages

    Package

    Name: petl

    Purl: pkg:pypi/petl

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.6.8

    Affected versions

    0.10
    0.10.1
    0.10.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-f5gc-p5m3-v347 | CVE-DB