RHEL 9 : git (RHSA-2023:2319)

high Nessus Plugin ID 175474

Synopsis

The remote Red Hat host is missing one or more security updates for git.

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2023:2319 advisory.

- git: On multi-user machines Git users might find themselves unexpectedly in a Git worktree (CVE-2022-24765)

- git: Bypass of safe.directory protections (CVE-2022-29187)

- git: exposure of sensitive information to a malicious actor (CVE-2022-39253)

- git: git shell function that splits command arguments can lead to arbitrary heap writes. (CVE-2022-39260)

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

Solution

Update the RHEL git package based on the guidance in RHSA-2023:2319.

See Also

http://www.nessus.org/u?9c5dd2c3

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

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=2073414

https://bugzilla.redhat.com/show_bug.cgi?id=2107439

https://bugzilla.redhat.com/show_bug.cgi?id=2137422

https://bugzilla.redhat.com/show_bug.cgi?id=2137423

https://bugzilla.redhat.com/show_bug.cgi?id=2139379

https://access.redhat.com/errata/RHSA-2023:2319

Plugin Details

Severity: High

ID: 175474

File Name: redhat-RHSA-2023-2319.nasl

Version: 1.3

Type: local

Agent: unix

Published: 5/13/2023

Updated: 4/28/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.1

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

CVSS Score Source: CVE-2022-29187

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

CVSS Score Source: CVE-2022-39260

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:9, p-cpe:/a:redhat:enterprise_linux:git, p-cpe:/a:redhat:enterprise_linux:git-all, p-cpe:/a:redhat:enterprise_linux:git-core, p-cpe:/a:redhat:enterprise_linux:git-core-doc, p-cpe:/a:redhat:enterprise_linux:git-credential-libsecret, p-cpe:/a:redhat:enterprise_linux:git-daemon, p-cpe:/a:redhat:enterprise_linux:git-email, p-cpe:/a:redhat:enterprise_linux:git-gui, p-cpe:/a:redhat:enterprise_linux:git-instaweb, p-cpe:/a:redhat:enterprise_linux:git-subtree, p-cpe:/a:redhat:enterprise_linux:git-svn, p-cpe:/a:redhat:enterprise_linux:gitk, p-cpe:/a:redhat:enterprise_linux:gitweb, p-cpe:/a:redhat:enterprise_linux:perl-git, p-cpe:/a:redhat:enterprise_linux:perl-git-svn

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/9/2023

Vulnerability Publication Date: 4/12/2022

Reference Information

CVE: CVE-2022-24765, CVE-2022-29187, CVE-2022-39253, CVE-2022-39260

CWE: 427, 59, 787

RHSA: 2023:2319