CBL Mariner 2.0 Security Update: libcxx / llvm / rust (CVE-2024-31852)

medium Nessus Plugin ID 205781

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of libcxx / llvm / rust installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2024-31852 advisory.

- LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack, and thus there can sometimes be an exploitable error in the flow of control. This affects the ARM backend and can be demonstrated with Clang. NOTE: the vendor perspective is we don't have strong objections for a CVE to be created ... It does seem that the likelihood of this miscompile enabling an exploit remains very low, because the miscompile resulting in this JOP gadget is such that the function is most likely to crash on most valid inputs to the function. So, if this function is covered by any testing, the miscompile is most likely to be discovered before the binary is shipped to production.
(CVE-2024-31852)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2024-31852

Plugin Details

Severity: Medium

ID: 205781

File Name: mariner_CVE-2024-31852.nasl

Version: 1.4

Type: local

Published: 8/19/2024

Updated: 12/13/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

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

CVSS Score Source: CVE-2024-31852

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:cbl-mariner:llvm, p-cpe:/a:microsoft:cbl-mariner:libcxx, p-cpe:/a:microsoft:cbl-mariner:libcxx-devel, p-cpe:/a:microsoft:cbl-mariner:libcxxabi, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:llvm-libunwind-static, p-cpe:/a:microsoft:cbl-mariner:rust, p-cpe:/a:microsoft:cbl-mariner:llvm-libunwind-devel, p-cpe:/a:microsoft:cbl-mariner:libcxxabi-static, p-cpe:/a:microsoft:cbl-mariner:libcxxabi-devel, p-cpe:/a:microsoft:cbl-mariner:rust-doc, p-cpe:/a:microsoft:cbl-mariner:libcxx-static, p-cpe:/a:microsoft:cbl-mariner:llvm-libunwind, p-cpe:/a:microsoft:cbl-mariner:llvm-debuginfo, p-cpe:/a:microsoft:cbl-mariner:llvm-devel, p-cpe:/a:microsoft:cbl-mariner:libcxx-debuginfo, p-cpe:/a:microsoft:cbl-mariner:rust-debuginfo

Required KB Items: Host/local_checks_enabled, Host/CBLMariner/release, Host/CBLMariner/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 8/13/2024

Vulnerability Publication Date: 4/5/2024

Reference Information

CVE: CVE-2024-31852