FreeBSD : libyaml heap overflow resulting in possible code execution (111f1f84-1d14-4ff2-a9ea-cf07119c0d3b)

medium Nessus Plugin ID 72247

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

libyaml was prone to a heap overflow that could result in arbitrary code execution. Pkg uses libyaml to parse the package manifests in some cases. Pkg also used libyaml to parse the remote repository until 1.2.

RedHat Product Security Team reports on libyaml :

A heap-based buffer overflow flaw was found in the way libyaml parsed YAML tags. 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.

Solution

Update the affected packages.

See Also

https://bugzilla.redhat.com/show_bug.cgi?id=1033990

http://www.nessus.org/u?057645b0

Plugin Details

Severity: Medium

ID: 72247

File Name: freebsd_pkg_111f1f841d144ff2a9eacf07119c0d3b.nasl

Version: 1.6

Type: local

Published: 2/3/2014

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libyaml, p-cpe:/a:freebsd:freebsd:pkg, p-cpe:/a:freebsd:freebsd:pkg-devel, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/1/2014

Vulnerability Publication Date: 11/24/2013

Reference Information

CVE: CVE-2013-6393