FreeBSD : pygments -- shell injection vulnerability (5f276780-b6ce-11e5-9731-5453ed2e2b49)

critical Nessus Plugin ID 87830

Synopsis

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

Description

NVD reports :

The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.

Solution

Update the affected packages.

See Also

https://seclists.org/fulldisclosure/2015/Oct/4

http://www.nessus.org/u?7e9426c6

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

Plugin Details

Severity: Critical

ID: 87830

File Name: freebsd_pkg_5f276780b6ce11e597315453ed2e2b49.nasl

Version: 2.8

Type: local

Published: 1/11/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: High

Base Score: 9.3

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

CVSS v3

Risk Factor: Critical

Base Score: 9

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py27-pygments, p-cpe:/a:freebsd:freebsd:py32-pygments, p-cpe:/a:freebsd:freebsd:py33-pygments, p-cpe:/a:freebsd:freebsd:py34-pygments, p-cpe:/a:freebsd:freebsd:py35-pygments, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 1/9/2016

Vulnerability Publication Date: 9/28/2015

Reference Information

CVE: CVE-2015-8557