Bug 1210686 (CVE-2023-25652) - VUL-0: git: release for 2.40.1 and friends
Summary: VUL-0: git: release for 2.40.1 and friends
Status: RESOLVED FIXED
Alias: CVE-2023-25652
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/364091/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-25652:7.8:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 09:37 UTC by Robert Frohl
Modified: 2024-05-06 12:45 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 10 Robert Frohl 2023-04-26 08:37:18 UTC
oss-security:

A maintenance release Git v2.40.1, together with releases for older
maintenance tracks v2.39.3, v2.38.5, v2.37.7, v2.36.6, v2.35.8,
v2.34.8, v2.33.8, v2.32.7, v2.31.8, and v2.30.9, are now available
at the usual places.

These maintenance releases are to address security issues identified
as CVE-2023-25652, CVE-2023-25815, and CVE-2023-29007.  They affect
ranges of existing versions and users are encouraged to upgrade.

The tarballs are found at:

    https://www.kernel.org/pub/software/scm/git/

The following public repositories all have a copy of the 'v2.40.1'
tag, as well as the tags for older maintenance tracks listed above:

  url = https://git.kernel.org/pub/scm/git/git
  url = https://kernel.googlesource.com/pub/scm/git/git
  url = git://repo.or.cz/alt-git.git
  url = https://github.com/gitster/git

The addressed issues are:

 * CVE-2023-25652:

   By feeding specially crafted input to `git apply --reject`, a
   path outside the working tree can be overwritten with partially
   controlled contents (corresponding to the rejected hunk(s) from
   the given patch).

 * CVE-2023-25815:

   When Git is compiled with runtime prefix support and runs without
   translated messages, it still used the gettext machinery to
   display messages, which subsequently potentially looked for
   translated messages in unexpected places. This allowed for
   malicious placement of crafted messages.

 * CVE-2023-29007:

   When renaming or deleting a section from a configuration file,
   certain malicious configuration values may be misinterpreted as
   the beginning of a new configuration section, leading to arbitrary
   configuration injection.

Credit for finding CVE-2023-25652 goes to Ry0taK, and the fix was
developed by Taylor Blau, Junio C Hamano and Johannes Schindelin,
with the help of Linus Torvalds.

Credit for finding CVE-2023-25815 goes to Maxime Escourbiac and
Yassine BENGANA of Michelin, and the fix was developed by Johannes
Schindelin.

Credit for finding CVE-2023-29007 goes to André Baptista and Vítor Pinho
of Ethiack, and the fix was developed by Taylor Blau, and Johannes
Schindelin, with help from Jeff King, and Patrick Steinhardt.
Comment 11 Peter Simons 2023-04-26 09:25:38 UTC
Tumbleweed got the 2.40.1 update via https://build.opensuse.org/request/show/1082819.
Comment 12 Maintenance Automation 2023-04-26 12:30:13 UTC
SUSE-SU-2023:2038-1: An update that solves three vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1210686
CVE References: CVE-2023-25652, CVE-2023-25815, CVE-2023-29007
Sources used:
openSUSE Leap 15.4 (src): git-2.35.3-150300.10.27.1
Basesystem Module 15-SP4 (src): git-2.35.3-150300.10.27.1
Development Tools Module 15-SP4 (src): git-2.35.3-150300.10.27.1
SUSE Linux Enterprise Real Time 15 SP3 (src): git-2.35.3-150300.10.27.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Maintenance Automation 2023-04-28 14:01:25 UTC
SUSE-SU-2023:2062-1: An update that solves three vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1210686
CVE References: CVE-2023-25652, CVE-2023-25815, CVE-2023-29007
Sources used:
HPE Helion OpenStack 8 (src): git-2.26.2-27.69.1
SUSE OpenStack Cloud 8 (src): git-2.26.2-27.69.1
SUSE OpenStack Cloud 9 (src): git-2.26.2-27.69.1
SUSE OpenStack Cloud Crowbar 9 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Server 12 SP2 BCL 12-SP2 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Server 12 SP4 ESPOS 12-SP4 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Server 12 SP4 LTSS 12-SP4 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Server 12 SP5 (src): git-2.26.2-27.69.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): git-2.26.2-27.69.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 14 Maintenance Automation 2023-05-02 20:30:03 UTC
SUSE-SU-2023:2038-2: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1210686
CVE References: CVE-2023-25652, CVE-2023-25815, CVE-2023-29007
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): git-2.35.3-150300.10.27.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): git-2.35.3-150300.10.27.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): git-2.35.3-150300.10.27.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): git-2.35.3-150300.10.27.1
SUSE Manager Proxy 4.2 (src): git-2.35.3-150300.10.27.1
SUSE Manager Retail Branch Server 4.2 (src): git-2.35.3-150300.10.27.1
SUSE Manager Server 4.2 (src): git-2.35.3-150300.10.27.1
SUSE Enterprise Storage 7.1 (src): git-2.35.3-150300.10.27.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 15 Maintenance Automation 2023-05-08 09:05:45 UTC
SUSE-SU-2023:2081-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1210686
CVE References: CVE-2023-25652, CVE-2023-25815, CVE-2023-29007
Sources used:
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): git-2.26.2-150000.50.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): git-2.26.2-150000.50.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): git-2.26.2-150000.50.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): git-2.26.2-150000.50.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): git-2.26.2-150000.50.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): git-2.26.2-150000.50.1
SUSE Enterprise Storage 7 (src): git-2.26.2-150000.50.1
SUSE CaaS Platform 4.0 (src): git-2.26.2-150000.50.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 17 Robert Frohl 2024-05-06 12:45:10 UTC
done, closing