FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

librsvg2 -- multiple vulnabilities

Affected packages
librsvg2 < 2.40.21
2.41.0 <= librsvg2-rust < 2.46.3


VuXML ID b66583ae-5aee-4cd5-bb31-b2d397f8b6b3
Discovery 2020-02-26
Entry 2020-03-02

Librsvg2 developers reports:

Backport the following fixes from 2.46.x:

Librsvg now has limits on the number of loaded XML elements, and the number of referenced elements within an SVG document. This is to mitigate malicious SVGs which try to consume all memory, and those which try to consume an exponential amount of CPU time.

Fix stack exhaustion with circular references in <use> elements.

Fix a denial-of-service condition from exponential explosion of rendered elements, through nested use of SVG <use> elements in malicious SVGs. This is similar to the XML "billion laughs attack" but for SVG instancing.


CVE Name CVE-2019-20446