CBL Mariner 2.0 Security Update: git (CVE-2024-32021)

low Nessus Plugin ID 201833

Synopsis

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

Description

The version of git 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-32021 advisory.

- Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, when cloning a local source repository that contains symlinks via the filesystem, Git May create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem May creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. (CVE-2024-32021)

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-32021

Plugin Details

Severity: Low

ID: 201833

File Name: mariner_CVE-2024-32021.nasl

Version: 1.2

Type: local

Published: 7/3/2024

Updated: 11/2/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Low

Base Score: 2.4

Temporal Score: 1.8

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

CVSS Score Source: CVE-2024-32021

CVSS v3

Risk Factor: Low

Base Score: 3.9

Temporal Score: 3.4

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

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

Vulnerability Information

CPE: x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:git, p-cpe:/a:microsoft:cbl-mariner:git-debuginfo, p-cpe:/a:microsoft:cbl-mariner:git-lang, p-cpe:/a:microsoft:cbl-mariner:git-daemon, p-cpe:/a:microsoft:cbl-mariner:git-subtree, p-cpe:/a:microsoft:cbl-mariner:git-svn

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/1/2024

Vulnerability Publication Date: 5/14/2024

Reference Information

CVE: CVE-2024-32021