FreeBSD : Rust -- violation of Rust's safety guarantees (37528379-76a8-11e9-a4fd-00012e582166)

high Nessus Plugin ID 125098

Language:

Synopsis

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

Description

Sean McArthur reports :

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the Error::type_id method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.

Solution

Update the affected package.

See Also

https://blog.rust-lang.org/2019/05/13/Security-advisory.html

http://www.nessus.org/u?88d9ffb3

Plugin Details

Severity: High

ID: 125098

File Name: freebsd_pkg_3752837976a811e9a4fd00012e582166.nasl

Version: 1.3

Type: local

Published: 5/15/2019

Updated: 5/22/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-12083

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/15/2019

Vulnerability Publication Date: 5/9/2019

Reference Information

CVE: CVE-2019-12083