FreeBSD : FreeBSD -- pts(4) write-after-free (5721ae65-b30a-11e9-a87f-a4badb2f4699)

high Nessus Plugin ID 127544

Language:

Synopsis

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

Description

The code which handles a close(2) of a descriptor created by posix_openpt(2) fails to undo the configuration which causes SIGIO to be raised. This bug can lead to a write-after-free of kernel memory.
Impact : The bug permits malicious code to trigger a write-after-free, which may be used to gain root privileges or escape a jail.

Solution

Update the affected packages.

See Also

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

Plugin Details

Severity: High

ID: 127544

File Name: freebsd_pkg_5721ae65b30a11e9a87fa4badb2f4699.nasl

Version: 1.3

Type: local

Published: 8/12/2019

Updated: 5/7/2024

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-5606

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/30/2019

Vulnerability Publication Date: 7/24/2019

Reference Information

CVE: CVE-2019-5606

FreeBSD: SA-19:13.pts