Vulnerabilities > CVE-2014-2525 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in multiple products

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
pyyaml
opensuse
CWE-119
nessus

Summary

Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2015-162.NASL
    descriptionperl-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-string s-cause-assert-failure - 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
    last seen2020-06-05
    modified2015-02-20
    plugin id81417
    published2015-02-20
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81417
    titleopenSUSE Security Update : perl-YAML-LibYAML (openSUSE-2015-162)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2015-162.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(81417);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2012-1152", "CVE-2013-6393", "CVE-2014-2525", "CVE-2014-9130");
    
      script_name(english:"openSUSE Security Update : perl-YAML-LibYAML (openSUSE-2015-162)");
      script_summary(english:"Check for the openSUSE-2015-162 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "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-string
        s-cause-assert-failure
    
      - 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"
      );
      # https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?82d71510"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=751503"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=860617"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=868944"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=907809"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=911782"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://github.com/yaml/libyaml/tree/perl-yaml-xs"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected perl-YAML-LibYAML packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:perl-YAML-LibYAML");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:perl-YAML-LibYAML-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:perl-YAML-LibYAML-debugsource");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2015/02/11");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/02/20");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2020 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE13\.1|SUSE13\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "13.1 / 13.2", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE13.1", reference:"perl-YAML-LibYAML-0.59-6.4.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"perl-YAML-LibYAML-debuginfo-0.59-6.4.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"perl-YAML-LibYAML-debugsource-0.59-6.4.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"perl-YAML-LibYAML-0.59-2.4.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"perl-YAML-LibYAML-debuginfo-0.59-2.4.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"perl-YAML-LibYAML-debugsource-0.59-2.4.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "perl-YAML-LibYAML / perl-YAML-LibYAML-debuginfo / etc");
    }
    
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201405-27.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201405-27 (LibYAML: Arbitrary code execution) The yaml_parser_scan_uri_escapes() function does not properly expand strings passed as input, which can result in a heap-based buffer overflow. Impact : An attacker could provide a specially crafted YAML document, which, when parsed by LibYAML, could result in arbitrary code execution or cause the application to crash. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id74171
    published2014-05-25
    reporterThis script is Copyright (C) 2014-2015 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/74171
    titleGLSA-201405-27 : LibYAML: Arbitrary code execution
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Gentoo Linux Security Advisory GLSA 201405-27.
    #
    # The advisory text is Copyright (C) 2001-2015 Gentoo Foundation, Inc.
    # and licensed under the Creative Commons - Attribution / Share Alike 
    # license. See http://creativecommons.org/licenses/by-sa/3.0/
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(74171);
      script_version("$Revision: 1.3 $");
      script_cvs_date("$Date: 2015/04/13 14:27:08 $");
    
      script_cve_id("CVE-2014-2525");
      script_bugtraq_id(66478);
      script_xref(name:"GLSA", value:"201405-27");
    
      script_name(english:"GLSA-201405-27 : LibYAML: Arbitrary code execution");
      script_summary(english:"Checks for updated package(s) in /var/db/pkg");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Gentoo host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote host is affected by the vulnerability described in GLSA-201405-27
    (LibYAML: Arbitrary code execution)
    
        The yaml_parser_scan_uri_escapes() function does not properly expand
          strings passed as input, which can result in a heap-based buffer
          overflow.
      
    Impact :
    
        An attacker could provide a specially crafted YAML document, which, when
          parsed by LibYAML, could result in arbitrary code execution or cause the
          application to crash.
      
    Workaround :
    
        There is no known workaround at this time."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security.gentoo.org/glsa/201405-27"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "All LibYAML users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=dev-libs/libyaml-0.1.6'
        Packages which depend on this library may need to be recompiled. Tools
          such as revdep-rebuild may assist in identifying these packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:ND/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:libyaml");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2014/05/23");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/05/25");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2015 Tenable Network Security, Inc.");
      script_family(english:"Gentoo Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("qpkg.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
    if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (qpkg_check(package:"dev-libs/libyaml", unaffected:make_list("ge 0.1.6"), vulnerable:make_list("lt 0.1.6"))) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:qpkg_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = qpkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "LibYAML");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-4440.NASL
    descriptionNew upstream release 0.1.6, fixes CVE-2014-2525 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-04-07
    plugin id73358
    published2014-04-07
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73358
    titleFedora 20 : libyaml-0.1.6-1.fc20 (2014-4440)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2014-4440.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(73358);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12");
    
      script_cve_id("CVE-2014-2525");
      script_xref(name:"FEDORA", value:"2014-4440");
    
      script_name(english:"Fedora 20 : libyaml-0.1.6-1.fc20 (2014-4440)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "New upstream release 0.1.6, fixes CVE-2014-2525
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=1078083"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2014-April/131140.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?4a53487c"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libyaml package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:libyaml");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:20");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2014/03/28");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/04/07");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2020 Tenable Network Security, Inc.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^20([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 20.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC20", reference:"libyaml-0.1.6-1.fc20")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libyaml");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2015-0953-2.NASL
    descriptionperl-YAML-LibYAML was updated to fix three 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 performed 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 triggered a heap-based buffer overflow (bnc#860617, bnc#911782). - 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). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id83869
    published2015-05-28
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/83869
    titleSUSE SLED12 / SLES12 Security Update : perl-YAML-LibYAML (SUSE-SU-2015:0953-2)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-1445.NASL
    descriptionAccording to the versions of the libyaml package installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.(CVE-2014-2525) - 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.(CVE-2013-6393) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id124948
    published2019-05-14
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/124948
    titleEulerOS Virtualization 3.0.1.0 : libyaml (EulerOS-SA-2019-1445)
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_10_9_5.NASL
    descriptionThe remote host is running a version of Mac OS X 10.9.x that is prior to version 10.9.5. This update contains several security-related fixes for the following components : - apache_mod_php - Bluetooth - CoreGraphics - Foundation - Intel Graphics Driver - IOAcceleratorFamily - IOHIDFamily - IOKit - Kernel - Libnotify - OpenSSL - QT Media Foundation - ruby Note that successful exploitation of the most serious issues can result in arbitrary code execution.
    last seen2020-06-01
    modified2020-06-02
    plugin id77748
    published2014-09-18
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/77748
    titleMac OS X 10.9.x < 10.9.5 Multiple Vulnerabilities
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2015-060.NASL
    descriptionUpdated yaml packages fix security vulnerabilities : 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 (CVE-2013-6393). Ivan Fratric of the Google Security Team discovered a heap-based buffer overflow vulnerability in LibYAML, a fast YAML 1.1 parser and emitter library. A remote attacker could provide a specially crafted YAML document 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 (CVE-2014-2525). An assertion failure was found in the way the libyaml library parsed wrapped strings. An attacker able to load specially crafted YAML input into an application using libyaml could cause the application to crash (CVE-2014-9130).
    last seen2020-06-01
    modified2020-06-02
    plugin id81943
    published2015-03-19
    reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/81943
    titleMandriva Linux Security Advisory : yaml (MDVSA-2015:060)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2014-0355.NASL
    descriptionThe remote CentOS host is missing a security update which has been documented in Red Hat advisory RHSA-2014:0355.
    last seen2020-06-01
    modified2020-06-02
    plugin id74126
    published2014-05-22
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74126
    titleCentOS 6 : Important: / ruby193-libyaml (CESA-2014:0355)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-4548.NASL
    descriptionThis update addressed two security issues. 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 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. CVE-2014-2525: The library is affected by a heap-based buffer overflow which can lead to arbitrary code execution. The vulnerability is caused by lack of proper expansion for the string passed to the yaml_parser_scan_uri_escapes() function. A specially crafted YAML file, with a long sequence of percent-encoded characters in a URL, can be used to trigger the overflow. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-04-07
    plugin id73366
    published2014-04-07
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73366
    titleFedora 20 : perl-YAML-LibYAML-0.41-4.fc20 (2014-4548)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2014-281.NASL
    descriptionlibyaml was updated to fix a heap overflow during parsing.
    last seen2020-06-05
    modified2014-06-13
    plugin id75319
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75319
    titleopenSUSE Security Update : libyaml (openSUSE-SU-2014:0500-1)
  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2014-324.NASL
    descriptionThe 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. Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.
    last seen2020-06-01
    modified2020-06-02
    plugin id73652
    published2014-04-23
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73652
    titleAmazon Linux AMI : perl-YAML-LibYAML (ALAS-2014-324)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-473.NASL
    descriptionperl-YAML-LibYAML was updated to fix three 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 performed 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 triggered a heap-based buffer overflow (bnc#860617, bnc#911782). - 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). This update was imported from the SUSE:SLE-12:Update update project.
    last seen2020-06-05
    modified2016-04-18
    plugin id90563
    published2016-04-18
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90563
    titleopenSUSE Security Update : perl-YAML-LibYAML (openSUSE-2016-473)
  • NASL familySlackware Local Security Checks
    NASL idSLACKWARE_SSA_2014-111-01.NASL
    descriptionNew libyaml packages are available for Slackware 13.1, 13.37, 14.0, 14.1, and -current to fix a security issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id73637
    published2014-04-22
    reporterThis script is Copyright (C) 2014 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73637
    titleSlackware 13.1 / 13.37 / 14.0 / 14.1 / current : libyaml (SSA:2014-111-01)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2014-069.NASL
    descriptionUpdated perl-YAML-LibYAML packages fix security vulnerabilities : 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 (CVE-2013-6393). Ivan Fratric of the Google Security Team discovered a heap-based buffer overflow vulnerability in LibYAML, a fast YAML 1.1 parser and emitter library. A remote attacker could provide a specially crafted YAML document 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 (CVE-2014-2525). The perl-YAML-LibYAML package is being updated as it contains an embedded copy of LibYAML.
    last seen2020-06-01
    modified2020-06-02
    plugin id73445
    published2014-04-10
    reporterThis script is Copyright (C) 2014-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73445
    titleMandriva Linux Security Advisory : perl-YAML-LibYAML (MDVSA-2014:069)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2885.NASL
    descriptionIvan Fratric of the Google Security Team discovered a heap-based buffer overflow vulnerability in LibYAML, a fast YAML 1.1 parser and emitter library. A remote attacker could provide a specially crafted YAML document 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.
    last seen2020-03-17
    modified2014-03-27
    plugin id73215
    published2014-03-27
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/73215
    titleDebian DSA-2885-1 : libyaml-libyaml-perl - security update
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2015-0953-1.NASL
    descriptionperl-YAML-LibYAML was updated to fix three 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 performed 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 triggered a heap-based buffer overflow (bnc#860617, bnc#911782). - 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). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id83868
    published2015-05-28
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/83868
    titleSUSE SLES12 Security Update : perl-YAML-LibYAML (SUSE-SU-2015:0953-1)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2014-0415.NASL
    descriptionUpdated libyaml packages that fix two security issues are now available for Red Hat Common for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. YAML is a data serialization format designed for human readability and interaction with scripting languages. LibYAML is a YAML parser and emitter written in C. A buffer overflow flaw was found in the way the libyaml library parsed URLs in YAML documents. An attacker able to load specially crafted YAML input to an application using libyaml could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2014-2525) An integer overflow flaw was found in the way the libyaml library handled excessively long YAML tags. An attacker able to load specially crafted YAML input to application using libyaml could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2013-6393) Red Hat would like to thank oCERT for reporting the CVE-2014-2525 issue. oCERT acknowledges Ivan Fratric of the Google Security Team as the original reporter. The CVE-2013-6393 issue was discovered by Florian Weimer of the Red Hat Product Security Team. Note: In their default configuration, applications distributed via the Red Hat Common channel do not use the libyaml library for parsing YAML, and are therefore not vulnerable to these issues. All libyaml users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications linked against the libyaml library must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id79012
    published2014-11-08
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/79012
    titleRHEL 6 : libyaml (RHSA-2014:0415)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2160-1.NASL
    descriptionIvan Fratric discovered that LibYAML incorrectly handled certain malformed YAML documents. An attacker could use this issue to cause LibYAML to crash, resulting in a denial of service, or possibly execute arbitrary code. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-18
    modified2014-04-04
    plugin id73328
    published2014-04-04
    reporterUbuntu Security Notice (C) 2014-2020 Canonical, Inc. / NASL script (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/73328
    titleUbuntu 12.04 LTS / 12.10 / 13.10 : libyaml vulnerability (USN-2160-1)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2014-071.NASL
    descriptionUpdated yaml package fixes security vulnerability Ivan Fratric of the Google Security Team discovered a heap-based buffer overflow vulnerability in LibYAML, a fast YAML 1.1 parser and emitter library. A remote attacker could provide a specially crafted YAML document 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 (CVE-2014-2525).
    last seen2020-06-01
    modified2020-06-02
    plugin id73446
    published2014-04-10
    reporterThis script is Copyright (C) 2014-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73446
    titleMandriva Linux Security Advisory : yaml (MDVSA-2014:071)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-4438.NASL
    descriptionNew upstream release 0.1.6, fixes CVE-2014-2525 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-04-07
    plugin id73357
    published2014-04-07
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73357
    titleFedora 19 : libyaml-0.1.6-1.fc19 (2014-4438)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2884.NASL
    descriptionIvan Fratric of the Google Security Team discovered a heap-based buffer overflow vulnerability in LibYAML, a fast YAML 1.1 parser and emitter library. A remote attacker could provide a specially crafted YAML document 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.
    last seen2020-03-17
    modified2014-03-27
    plugin id73214
    published2014-03-27
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/73214
    titleDebian DSA-2884-1 : libyaml - security update
  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2014-321.NASL
    descriptionHeap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.
    last seen2020-06-01
    modified2020-06-02
    plugin id73649
    published2014-04-23
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73649
    titleAmazon Linux AMI : libyaml (ALAS-2014-321)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-4517.NASL
    descriptionThis update addressed two security issues. 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 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. CVE-2014-2525: The library is affected by a heap-based buffer overflow which can lead to arbitrary code execution. The vulnerability is caused by lack of proper expansion for the string passed to the yaml_parser_scan_uri_escapes() function. A specially crafted YAML file, with a long sequence of percent-encoded characters in a URL, can be used to trigger the overflow. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-17
    modified2014-04-07
    plugin id73364
    published2014-04-07
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/73364
    titleFedora 19 : perl-YAML-LibYAML-0.41-4.fc19 (2014-4517)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_580CC46BBB1E11E3B1442C4138874F7D.NASL
    descriptionoCERT reports : The LibYAML project is an open source YAML 1.1 parser and emitter written in C. The library is affected by a heap-based buffer overflow which can lead to arbitrary code execution. The vulnerability is caused by lack of proper expansion for the string passed to the yaml_parser_scan_uri_escapes() function. A specially crafted YAML file, with a long sequence of percent-encoded characters in a URL, can be used to trigger the overflow.
    last seen2020-06-01
    modified2020-06-02
    plugin id73321
    published2014-04-04
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/73321
    titleFreeBSD : LibYAML input sanitization errors (580cc46b-bb1e-11e3-b144-2c4138874f7d)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2161-1.NASL
    descriptionFlorian Weimer discovered that libyaml-libyaml-perl incorrectly handled certain large YAML documents. An attacker could use this issue to cause libyaml-libyaml-perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2013-6393) Ivan Fratric discovered that libyaml-libyaml-perl incorrectly handled certain malformed YAML documents. An attacker could use this issue to cause libyaml-libyaml-perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2014-2525). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-18
    modified2014-04-04
    plugin id73329
    published2014-04-04
    reporterUbuntu Security Notice (C) 2014-2020 Canonical, Inc. / NASL script (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/73329
    titleUbuntu 12.04 LTS / 12.10 / 13.10 : libyaml-libyaml-perl vulnerabilities (USN-2161-1)

Redhat

advisories
  • rhsa
    idRHSA-2014:0353
  • rhsa
    idRHSA-2014:0354
  • rhsa
    idRHSA-2014:0355
rpms
  • libyaml-0:0.1.3-1.4.el6
  • libyaml-debuginfo-0:0.1.3-1.4.el6
  • libyaml-devel-0:0.1.3-1.4.el6
  • libyaml-0:0.1.3-1.4.el6
  • libyaml-debuginfo-0:0.1.3-1.4.el6
  • libyaml-devel-0:0.1.3-1.4.el6
  • ruby193-libyaml-0:0.1.4-5.1.el6
  • ruby193-libyaml-debuginfo-0:0.1.4-5.1.el6
  • ruby193-libyaml-devel-0:0.1.4-5.1.el6
  • ruby193-libyaml-0:0.1.4-5.1.el6
  • ruby193-libyaml-debuginfo-0:0.1.4-5.1.el6
  • ruby193-libyaml-devel-0:0.1.4-5.1.el6
  • libyaml-0:0.1.3-1.4.el6
  • libyaml-debuginfo-0:0.1.3-1.4.el6
  • libyaml-devel-0:0.1.3-1.4.el6

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 66478 CVE(CAN) ID: CVE-2014-2525 LibYAML是用C语言编写的YAML 1.1解析器和发射器。 由于程序没有正确过滤用户提供的输入,允许远程攻击者在易受攻击的应用程序上下文中执行任意代码。 0 LibYAML &lt;0.1.6 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: http://pyyaml.org/wiki/LibYAML
idSSV:61986
last seen2017-11-19
modified2014-03-28
published2014-03-28
reporterRoot
titleLibYAML 'yaml_parser_scan_uri_escapes()'函数远程堆缓冲区溢出漏洞