openSUSE Security Update: Security update for perl-YAML-LibYAML ______________________________________________________________________________ Announcement ID: openSUSE-SU-2015:0319-1 Rating: moderate References: #751503 #860617 #868944 #907809 #911782 Cross-References: CVE-2012-1152 CVE-2013-6393 CVE-2014-2525 CVE-2014-9130 Affected Products: openSUSE 13.2 openSUSE 13.1 ______________________________________________________________________________ An update that solves four vulnerabilities and has one errata is now available. Description: perl-YAML-LibYAML was updated to version 0.59 to fix four security issues. These security issues were fixed: - CVE-2013-6393: The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allowed remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow (bnc#860617, bnc#911782). - CVE-2012-1152: Multiple format string vulnerabilities in the error reporting functionality in the YAML::LibYAML (aka YAML-LibYAML and perl-YAML-LibYAML) module 0.38 for Perl allowed remote attackers to cause a denial of service (process crash) via format string specifiers in a (1) YAML stream to the Load function, (2) YAML node to the load_node function, (3) YAML mapping to the load_mapping function, or (4) YAML sequence to the load_sequence function (bnc#751503). - CVE-2014-9130: scanner.c in LibYAML 0.1.5 and 0.1.6, as used in the YAML-LibYAML (aka YAML-XS) module for Perl, allowed context-dependent attackers to cause a denial of service (assertion failure and crash) via vectors involving line-wrapping (bnc#907809, bnc#911782). - CVE-2014-2525: Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allowed context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file (bnc#868944, bnc#911782). These non-security issues were fixed: - PR/23 Better scalar dump heuristics - More closely match YAML.pm - Add a VERSION statement to YAML::LibYAML (issue#8) - Applied fix for PR/21. nawglan++ - Use Swim cpan-tail block functions in doc - Get YAML::XS using latest libyaml - Fix for https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-fail ure - Fix e1 test failure on 5.21.4 - Remove =travis section - Meta 0.0.2 - Eliminate spurious trailing whitespace - Add t/000-compile-modules.t - Fix swim errors - Add badges to doc - Fix ReadMe - Fix Meta and add Contributing. - Doc fix. GitHub-Issue-#6. Thanks to Debian Perl Group for finding this. - Test::Base tests needed 'inc' in @INC - Switch to Zilla::Dist - No longer dep on Test::Base, Spiffy, and Filter::Util::Call - Remove test/changes.t - Removed another C++ // style comment. jdb++ - Removed C++ // style comments, for better portability. jdb++ - Using the latest libyaml codebase - https://github.com/yaml/libyaml/tree/perl-yaml-xs - Changes have been made to start moving libyaml to 1.2 Patch Instructions: To install this openSUSE Security Update use YaST online_update. Alternatively you can run the command listed for your product: - openSUSE 13.2: zypper in -t patch openSUSE-2015-162=1 - openSUSE 13.1: zypper in -t patch openSUSE-2015-162=1 To bring your system up-to-date, use "zypper patch". Package List: - openSUSE 13.2 (i586 x86_64): perl-YAML-LibYAML-0.59-2.4.1 perl-YAML-LibYAML-debuginfo-0.59-2.4.1 perl-YAML-LibYAML-debugsource-0.59-2.4.1 - openSUSE 13.1 (i586 x86_64): perl-YAML-LibYAML-0.59-6.4.1 perl-YAML-LibYAML-debuginfo-0.59-6.4.1 perl-YAML-LibYAML-debugsource-0.59-6.4.1 References: http://support.novell.com/security/cve/CVE-2012-1152.html http://support.novell.com/security/cve/CVE-2013-6393.html http://support.novell.com/security/cve/CVE-2014-2525.html http://support.novell.com/security/cve/CVE-2014-9130.html https://bugzilla.suse.com/751503 https://bugzilla.suse.com/860617 https://bugzilla.suse.com/868944 https://bugzilla.suse.com/907809 https://bugzilla.suse.com/911782