Vulnerability · Published Jan 28, 2020 · Assigned by GitHub_M

CVE-2020-5227Feedgen Vulnerable to XML Denial of Service Attacks

Medium 4.4

In plain English

A medium-severity security flaw in python-feedgen from lkiesow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)2.2%top 17.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Feedgen (python feedgen) before 0.9.0 is susceptible to XML Denial of Service attacks. 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 (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. This problem has been fixed in feedgen 0.9.0 which disallows XML entity expansion and external resources.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIfeedgen0.9.0GHSA-g8q7-xv52-hf9f
PyPIfeedgen0.9.0PYSEC-2020-231

Affected products (as reported)

VendorProductVersions
lkiesow python-feedgen < 0.9.0

Weakness: CWE-776 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

References