FreeBSD : py-yaml -- arbitrary code execution (f6ea18bb-65b9-11e9-8b31-002590045d9c)

critical Nessus Plugin ID 124287

Language:

Synopsis

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

Description

pyyaml reports :

the PyYAML.load function could be easily exploited to call any Python function. That means it could call any system command using os.system()

Solution

Update the affected packages.

See Also

https://github.com/yaml/pyyaml/pull/74

http://www.nessus.org/u?d76096de

Plugin Details

Severity: Critical

ID: 124287

File Name: freebsd_pkg_f6ea18bb65b911e98b31002590045d9c.nasl

Version: 1.4

Type: local

Published: 4/25/2019

Updated: 5/31/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2017-18342

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py35-yaml, p-cpe:/a:freebsd:freebsd:py37-yaml, p-cpe:/a:freebsd:freebsd:py36-yaml, p-cpe:/a:freebsd:freebsd:py27-yaml, cpe:/o:freebsd:freebsd

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/23/2019

Vulnerability Publication Date: 6/27/2018

Reference Information

CVE: CVE-2017-18342