Advisory

RLSA-2023:0610

Also known as: CVE-2022-23521, CVE-2022-41903

Summary

Important: git security update

Details

Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection.

Security Fix(es):

  • git: gitattributes parsing integer overflow (CVE-2022-23521)
  • git: Heap overflow in git archive, git log --format leading to RCE (CVE-2022-41903)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2023-02-06 19:25 UTC
Modified
2026-02-04 15:30 UTC

Affected packages and fixes

git

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:2.31.1-3.el8_7 (ecosystem)

Fixed versions

0:2.31.1-3.el8_7

Fix

  • Fixed version 0:2.31.1-3.el8_7
    sudo dnf upgrade git-0:2.31.1-3.el8_7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences