Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905088 (CVE-2023-25652, CVE-2023-25815, CVE-2023-29007) - <dev-vcs/git-{2.39.3, 2.40.1}: Multiple vulnerabilities
Summary: <dev-vcs/git-{2.39.3, 2.40.1}: Multiple vulnerabilities
Status: IN_PROGRESS
Alias: CVE-2023-25652, CVE-2023-25815, CVE-2023-29007
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: A3 [glsa? cleanup]
Keywords:
Depends on: 905696
Blocks:
  Show dependency tree
 
Reported: 2023-04-25 22:51 UTC by Sam James
Modified: 2023-05-08 04:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-25 22:51:17 UTC
https://lore.kernel.org/lkml/xmqqa5yv3n93.fsf@gitster.g/

"""
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.
"""
Comment 1 Larry the Git Cow gentoo-dev 2023-04-25 23:17:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94633b2602d86b4d77e1dc2a148437f725cf0d55

commit 94633b2602d86b4d77e1dc2a148437f725cf0d55
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-25 23:16:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-25 23:16:58 +0000

    dev-vcs/git: add 2.40.1
    
    Bug: https://bugs.gentoo.org/905088
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-vcs/git/Manifest          |   3 +
 dev-vcs/git/git-2.40.1.ebuild | 644 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 647 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a5f5ca9c11790bb0989385f30d9dff6edc7c82

commit 77a5f5ca9c11790bb0989385f30d9dff6edc7c82
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-25 22:59:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-25 22:59:51 +0000

    dev-vcs/git: add 2.39.3
    
    Bug: https://bugs.gentoo.org/905088
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-vcs/git/Manifest          |   3 +
 dev-vcs/git/git-2.39.3.ebuild | 644 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 647 insertions(+)