CVE-2020-5227 – feedgen
Package
Manager: pip
Name: feedgen
Vulnerable Version: >=0 <0.9.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00666 pctl0.70348
Details
Feedgen Vulnerable to XML Denial of Service Attacks ### Impact The *feedgen* library allows supplying XML as content for some of the available fields. This XML will be parsed and integrated into the existing XML tree. During this process, feedgen is vulnerable to [XML Denial of Service Attacks](https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses) (e.g. XML Bomb). This becomes a concern in particular if feedgen is used to include content from untrused sources and if XML (including XHTML) is directly included instead of providing plain tex content only. ### Patches This problem has been fixed in feedgen 0.9.0 which disallows XML entity expansion and external resources. ### Workarounds Updating is strongly recommended and should not be problematic. Nevertheless, as a workaround, avoid providing XML directly to feedgen or ensure that no entity expansion is part of the XML. ### References - [Security Briefs - XML Denial of Service Attacks and Defenses](https://docs.microsoft.com/en-us/archive/msdn-magazine/2009/november/xml-denial-of-service-attacks-and-defenses) - [Billion laughs attack](https://en.wikipedia.org/wiki/Billion_laughs_attack#cite_note-2) ### For more information If you have any questions or comments about this advisory: - Open an issue in [lkiesow/python-feedgen](https://github.com/lkiesow/python-feedgen/issues) - Send an email to security@lkiesow.de
Metadata
Created: 2020-01-28T22:37:50Z
Modified: 2024-09-20T17:44:21Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-g8q7-xv52-hf9f/GHSA-g8q7-xv52-hf9f.json
CWE IDs: ["CWE-776"]
Alternative ID: GHSA-g8q7-xv52-hf9f
Finding: F083
Auto approve: 1