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

librsvg2 -- multiple vulnerabilities

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

Details

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.

References

CVE Name CVE-2019-20446
URL https://mail.gnome.org/archives/ftp-release-list/2020-February/msg00133.html