CVE-2013-6393 json
Heap Based Buffer Overflow in libyaml
published 12y ago modified 4mo ago also GHSA-m75h-cghq-c8h5 , EUVD-2020-0633
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.4%
- EPSS 7.4% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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 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.
Patch / fix
- npm libyaml 0.2.3
- libyaml Debian 14, Debian 13, Debian 12 0.1.4-3
- libyaml-libyaml-perl Debian 14, Debian 13, Debian 12 0.41-4
debian advisories DEBIAN-CVE-2013-6393
- ruby193-libyaml RHEL 1 SOFTWARE_COLLECTIONS, openstack 3 0.1.4-5.1.el6
- libyaml RHEL 6 COMMON, openstack 4, openstack 3 0.1.3-1.4.el6
red hat advisories RHSA-2014:0364RHSA-2014:0353RHSA-2014:0354RHSA-2014:0355RHSA-2014:0415
- perl-YAML-LibYAML SLES 12, SLED 12, SLES for SAP 12 0.38-10.1
suse advisories SUSE-SU-2015:0953-1SUSE-SU-2015:0953-2
- libyaml openSUSE Tumbleweed 0.1.6-4.8
- perl-YAML-LibYAML openSUSE Tumbleweed 0.59-2.11
opensuse advisories openSUSE-SU-2024:10029-1openSUSE-SU-2024:10520-1
Is CVE-2013-6393 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-6393 updated cvss 4.3
libyaml: heap-based buffer overflow when parsing YAML tags
-
Red Hat OpenShift Enterprise 1 ruby193-libyamlaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 libyamlaffected: workaround, no fix available
-
Red Hat Enterprise MRG 1 libyaml Red Hat Enterprise MRG 2 libyaml Red Hat Satellite 5 libyamlaffected: workaround, no fix planned “Will not fix”
-
Red Hat Software Collections libyamlaffected: workaround, no fix available
-
Red Hat Subscription Asset Manager libyamlaffected: workaround, no fix planned “Will not fix”
-
Red Hat Common for RHEL Server (v. 6) libyaml 0.1.3-1.4.el6fixed: vendor fix RHSA-2014:0415
-
Red Hat Enterprise Linux OpenStack Platform 3.0 libyaml 0.1.3-1.4.el6, ruby193-libyaml 0.1.4-5.1.el6fixed: vendor fix RHSA-2014:0353
-
Red Hat Enterprise Linux OpenStack Platform 4.0 libyaml 0.1.3-1.4.el6fixed: vendor fix RHSA-2014:0354
show 2 moreshow fewer
-
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) ruby193-libyaml 0.1.4-5.1.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) ruby193-libyaml 0.1.4-5.1.el6fixed: vendor fix RHSA-2014:0355
-
Red Hat CloudForms Management Engine 5 ruby193-libyaml Red Hat Enterprise Linux 7 libyaml Red Hat Satellite 6 libyaml, ruby193-libyamlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.39% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | libyaml | <0.2.3 |
0.2.3 |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1033990
web, issue-tracking, patch
-
bitbucket.org
/xi/libyaml/commits/bce8b60f0b9af69fa9fab3093d0a41ba243de048
web
-
lists.opensuse.org
/opensuse-updates/2014-02/msg00065.html
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2014/dsa-2870
vendor-advisory, web, third-party-advisory
-
archives.neohapsis.com
/archives/bugtraq/2014-10/0103.html
vendor-advisory, web, broken-link
-
archives.neohapsis.com
/archives/bugtraq/2014-04/0134.html
vendor-advisory, web, broken-link
-
mandriva.com
/security/advisories?name=MDVSA-2015:060
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2015-02/msg00078.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0355.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2014-02/msg00064.html
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0354.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2016-04/msg00050.html
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2014/dsa-2850
vendor-advisory, web, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0353.html
vendor-advisory, web, third-party-advisory
-
ubuntu.com
/usn/USN-2098-1
vendor-advisory, web, third-party-advisory
-
osvdb.org
/102716
vdb-entry
-
bugzilla.redhat.com
/attachment.cgi?id=847926&action=diff
web, issue-tracking
-
securityfocus.com
/bid/65258
vdb-entry, third-party-advisory
-
advisories.mageia.org
/MGASA-2014-0040.html
web, third-party-advisory
-
support.apple.com
/kb/HT6536
web, third-party-advisory
-
bitbucket.org
/xi/libyaml/commits/tag/0.1.5
web, issue-tracking
-
puppet.com
/security/cve/cve-2013-6393
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-6393
advisory
-
bitbucket.org
/xi/libyaml
package
-
web.archive.org
/web/20140302205713/http://www.securityfocus.com/bid/65258
web
-
web.archive.org
/web/20150523055002/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:060/?name=MDVSA
web
-
npmjs.com
/advisories/21
web
-
cve.mitre.org
/cgi-bin/cvename.cgi?name=2013-6393
web
Sources
- CVE List CVE-2013-6393
- GitHub Advisory GHSA-m75h-cghq-c8h5
- NVD CVE-2013-6393
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.