Skip to content
OpenAdvisories
Critical SUSE-SU-2023:0109-1 2 CVEs

Security update for git

Published Jan 20, 2023 · Updated May 2, 2025

Summary

This update for git fixes the following issues:

- CVE-2022-41903: Fixed a heap overflow in the 'git archive' and
'git log --format' commands (bsc#1207033).
- CVE-2022-23521: Fixed an integer overflow that could be triggered
when parsing a gitattributes file (bsc#1207032).

Fixed packages 10

ReleasePackageFixed in
SUSE · HPE Helion OpenStack 8 git 2.26.2-27.63.2
SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL git 2.26.2-27.63.2
SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4-LTSS git 2.26.2-27.63.2
SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 git 2.26.2-27.63.2
SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 git 2.26.2-27.63.2
SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 git 2.26.2-27.63.2
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 git 2.26.2-27.63.2
SUSE · OpenStack Cloud 8 git 2.26.2-27.63.2
SUSE · OpenStack Cloud 9 git 2.26.2-27.63.2
SUSE · OpenStack Cloud Crowbar 9 git 2.26.2-27.63.2

Vulnerabilities 2

  • Critical 9.8
    CVE-2022-23521 EPSS 56%

    gitattributes parsing integer overflow in git

    Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes tha…

  • Critical 9.8
    CVE-2022-41903 Public exploit EPSS 44%

    Integer overflow in `git archive`, `git log --format` leading to RCE in git

    Git is distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality is also exposed to `git archive` via the `export-subst` gitattribute. When processing the padding operators, t…

References

  • report
    https://bugzilla.suse.com/1207032
  • report
    https://bugzilla.suse.com/1207033
  • web
    https://www.suse.com/security/cve/CVE-2022-23521
  • web
    https://www.suse.com/security/cve/CVE-2022-41903