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

Security update for git

Published Jan 20, 2023 · Updated Feb 4, 2026

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 9

ReleasePackageFixed in
SUSE · Enterprise Storage 6 git 2.26.2-150000.44.1
SUSE · Enterprise Storage 7 git 2.26.2-150000.44.1
openSUSE · Leap 15.4 git 2.26.2-150000.44.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS git 2.26.2-150000.44.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS git 2.26.2-150000.44.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS git 2.26.2-150000.44.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS git 2.26.2-150000.44.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 git 2.26.2-150000.44.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 git 2.26.2-150000.44.1

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