GitHub Advisoryadvisory · npm
GHSA-m75h-cghq-c8h5 Heap Based Buffer Overflow in libyaml
CRITICAL
Official page ↗
- Aliases
- CVE-2013-6393
- Ecosystem
- npm
- Packages
- libyaml
- Severity
- Critical
- Weaknesses
- CWE-119
- Reviewed
- 2020-08-31
Affected packages
• npm libyaml: < 0.2.3 → fixed in 0.2.3
Description
Versions 0.2.2 and earlier depend on native libyaml version 0.1.5 or earlier. As such, they are affected by a heap-based buffer overflow vulnerability that may result in a crash or arbitrary code execution when parsing YAML tags.
Recommendation
• Update to version 0.2.3 that includes a version of LibYAML that contains a fix for this issue.
Related
Alias · CVE (1)
- CVE-2013-6393 The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to… vulnerability
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-6393 advisory
- https://bitbucket.org/xi/libyaml package
- https://bitbucket.org/xi/libyaml/commits/bce8b60f0b9af69fa9fab3093d0a41ba243de048 web
- https://bitbucket.org/xi/libyaml/commits/tag/0.1.5 web
- https://bugzilla.redhat.com/attachment.cgi?id=847926&action=diff web
- https://bugzilla.redhat.com/show_bug.cgi?id=1033990 web
- https://puppet.com/security/cve/cve-2013-6393 web
- https://support.apple.com/kb/HT6536 web
- https://web.archive.org/web/20140302205713/http://www.securityfocus.com/bid/65258 web
- https://web.archive.org/web/20150523055002/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:060/?name=MDVSA-2015:060 web
- https://www.npmjs.com/advisories/21 web
- http://advisories.mageia.org/MGASA-2014-0040.html web
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html web
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html web
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=2013-6393 web
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00064.html web
- http://lists.opensuse.org/opensuse-updates/2014-02/msg00065.html web
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html web
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00050.html web
- http://rhn.redhat.com/errata/RHSA-2014-0353.html web
- http://rhn.redhat.com/errata/RHSA-2014-0354.html web
- http://rhn.redhat.com/errata/RHSA-2014-0355.html web
- http://www.debian.org/security/2014/dsa-2850 web
- http://www.debian.org/security/2014/dsa-2870 web
- http://www.ubuntu.com/usn/USN-2098-1 web