Debian Security Advisory DSA 2870-1 (libyaml-libyaml-perl - heap-based buffer overflow)

Summary
Florian Weimer of the Red Hat Product Security Team discovered a heap-based buffer overflow flaw in LibYAML, a fast YAML 1.1 parser and emitter library. A remote attacker could provide a YAML document with a specially-crafted tag that, when parsed by an application using libyaml, would cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. This update corrects this flaw in the copy that is embedded in the libyaml-libyaml-perl package.
Solution
For the oldstable distribution (squeeze), this problem has been fixed in version 0.33-1+squeeze2. For the stable distribution (wheezy), this problem has been fixed in version 0.38-3+deb7u1. For the testing distribution (jessie), this problem has been fixed in version 0.41-4. For the unstable distribution (sid), this problem has been fixed in version 0.41-4. We recommend that you upgrade your libyaml-libyaml-perl packages.
Insight
YAML::LibYAML (or YAML::XS) is a Perl interface to Kirill Siminov's libyaml library, a YAML Ain't Markup Language (YAML) implementation written in C to support the YAML 1.1 specification. There provided Dump and Load routines are compatible with the Perl YAML module (see libyaml-perl).
Affected
libyaml-libyaml-perl on Debian Linux
Detection
This check tests the installed software version using the apt package manager.
References