Fast Version Control System
Go to file
Todd Zullinger 537938edaa update to 2.38.1 (CVE-2022-39253, CVE-2022-39260)
From the release notes for 2.30.6¹

   * 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.

  Credit for finding CVE-2022-39253 goes to Cory Snider of Mirantis. The
  fix was authored by Taylor Blau, with help from Johannes Schindelin.

  Credit for finding CVE-2022-39260 goes to Kevin Backhouse of GitHub.
  The fix was authored by Kevin Backhouse, Jeff King, and Taylor Blau.

¹ https://github.com/git/git/raw/v2.38.1/Documentation/RelNotes/2.30.6.txt
2022-10-18 13:43:15 -04:00
.gitignore Check upstream GPG signatures in %prep 2016-03-27 21:31:56 -04:00
.mailmap Add .mailmap for git shortlog output 2017-11-28 21:27:36 -05:00
0001-t-lib-httpd-try-harder-to-find-a-port-for-apache.patch tests: try harder to find open ports for apache, git, and svn 2022-08-31 10:05:31 -04:00
0002-t-lib-git-daemon-try-harder-to-find-a-port.patch tests: try harder to find open ports for apache, git, and svn 2022-08-31 10:05:31 -04:00
0003-t-lib-git-svn-try-harder-to-find-a-port.patch tests: try harder to find open ports for apache, git, and svn 2022-08-31 10:05:31 -04:00
git-cvsimport-Ignore-cvsps-2.2b1-Branches-output.patch Update to git-1.6.2.2 2009-04-04 20:47:17 +00:00
git-gui.desktop Update to git-1.6.3.2 2009-06-06 01:45:16 +00:00
git.rpmlintrc lint: ignore non-standard-dir-in-var for gitweb 2022-10-15 11:53:50 -04:00
git.skip-test-patterns update to 2.37.0-rc1 2022-06-18 01:59:06 -04:00
git.socket use systemd instead of xinetd (bz 737183) 2013-04-30 14:25:37 -04:00
git.spec update to 2.38.1 (CVE-2022-39253, CVE-2022-39260) 2022-10-18 13:43:15 -04:00
git.xinetd.in Rename %gitcoredir to %gitexecdir; upstream uses the latter 2017-11-12 13:15:13 -05:00
git@.service.in daemon: use --log-destination=stderr with systemd 2018-04-11 23:19:00 -04:00
gitweb-httpd.conf Rename gitweb httpd config file 2018-03-19 11:08:38 -04:00
gitweb.conf.in Update to git-1.6.6.1 2010-01-31 21:05:27 +00:00
gpgkey-junio.asc update Junio's GPG key (with extended expiration) 2021-02-08 21:58:40 -05:00
print-failed-test-output print-failed-test-output: minor improvements 2019-02-11 22:47:30 -05:00
sources update to 2.38.1 (CVE-2022-39253, CVE-2022-39260) 2022-10-18 13:43:15 -04:00