Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#17199 closed enhancement (fixed)

git-2.38.1

Reported by: Xi Ruoyao Owned by: Bruce Dubbs
Priority: elevated Milestone: 11.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New patch version.

Containing CVE-2022-39253 and CVE-2022-39260 fixes.

Change History (4)

comment:1 by Bruce Dubbs, 18 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 18 months ago

Git v2.38.1 Release Notes

This release merges the security fix that appears in v2.30.6; see the release notes for that version for details.

Git v2.30.6 Release Notes

This release addresses the security issues CVE-2022-39253 and CVE-2022-39260.

  • CVE-2022-39253:
       When relying on the `--local` clone optimization, Git dereferences
       symbolic links in the source repository before creating hardlinks
       (or copies) of the dereferenced link in the destination repository.
       This can lead to surprising behavior where arbitrary files are
       present in a repository's `$GIT_DIR` when cloning from a malicious
       repository.
    
       Git will no longer dereference symbolic links via the `--local`
       clone mechanism, and will instead refuse to clone repositories that
       have symbolic links present in the `$GIT_DIR/objects` directory.
    
       Additionally, the value of `protocol.file.allow` is changed to be
       "user" by default.
    
  • CVE-2022-39260:
       An overly-long command string given to `git shell` can result in
       overflow in `split_cmdline()`, leading to arbitrary heap writes and
       remote code execution when `git shell` is exposed and the directory
       `$HOME/git-shell-commands` exists.
    
       `git shell` is taught to refuse interactive commands that are
       longer than 4MiB in size. `split_cmdline()` is hardened to reject
       inputs larger than 2GiB.
    

comment:3 by Bruce Dubbs, 18 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

7599563171 Update to git-2.38.1 (Security update).
2696de67c4 Update to pipewire-0.3.59.

comment:4 by Douglas R. Reno, 18 months ago

Issued SA-11.2-024

Note: See TracTickets for help on using tickets.