FreeBSD : ledger -- multiple vulnerabilities (d843a984-7f22-484f-ba81-483ddbe30dc3)

high Nessus Plugin ID 103482

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Talos reports :

An exploitable buffer overflow vulnerability exists in the tag parsing functionality of Ledger-CLI 3.1.1. A specially crafted journal file can cause an integer underflow resulting in code execution. An attacker can construct a malicious journal file to trigger this vulnerability.

An exploitable use-after-free vulnerability exists in the account parsing component of the Ledger-CLI 3.1.1. A specially crafted ledger file can cause a use-after-free vulnerability resulting in arbitrary code execution. An attacker can convince a user to load a journal file to trigger this vulnerability.

Solution

Update the affected package.

See Also

https://www.securityfocus.com/bid/100543

http://www.nessus.org/u?0f44e2cc

https://www.securityfocus.com/bid/100546

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

http://www.nessus.org/u?4d37cbae

Plugin Details

Severity: High

ID: 103482

File Name: freebsd_pkg_d843a9847f22484fba81483ddbe30dc3.nasl

Version: 3.5

Type: local

Published: 9/27/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ledger, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 9/26/2017

Vulnerability Publication Date: 9/5/2017

Reference Information

CVE: CVE-2017-2807, CVE-2017-2808