Alerts This Week
Warning Icon 1 905
Alerts This Week
Warning Icon 1 905

Fedora 35: FEDORA-2022-53aadd995f Critical Git Security Fix

fedora
Calendar Grey November 2, 2022
Dist Fedora Esm H88
Fedora 35 has released a crucial Git update that tackles security vulnerabilities while improving functionality, ensuring a safer workflow for users
Upstream update including security & bug fixes as well as feature enhancements

Summary

Git is a fast, scalable, distributed revision control system with an

unusually rich command set that provides both high-level operations

and full access to internals.

The git rpm installs common set of tools which are usually using with

small amount of dependencies. To install all git packages, including

tools for integrating with other SCMs, install the git-all meta-package.

Upstream update including security & bug fixes as well as feature enhancements.

From the upstream [release notes](https://raw.githubusercontent.com/git/git/v2.38.1/Documentation/RelNotes/2.30.6.txt): 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. Credits ------- 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.

* Tue Oct 18 2022 Todd Zullinger - 2.38.1-1

- update to 2.38.1 (CVE-2022-39253, CVE-2022-39260)

* Mon Oct 3 2022 Todd Zullinger - 2.38.0-1

- update to 2.38.0

* Wed Sep 28 2022 Todd Zullinger - 2.38.0-0.2.rc2

- update to 2.38.0-rc2

* Wed Sep 21 2022 Todd Zullinger - 2.38.0-0.1.rc1

- update to 2.38.0-rc1

- git-subtree sub-package is noarch

* Fri Sep 16 2022 Todd Zullinger - 2.38.0-0.0.rc0

- update to 2.38.0-rc0

su -c 'dnf upgrade --advisory FEDORA-2022-53aadd995f' at the command

line. For more information, refer to the dnf documentation available at

https://dnf.readthedocs.io/en/latest/command_ref.html

All packages are signed with the Fedora Project GPG key. More details on the

GPG keys used by the Fedora Project can be found at

https://fedoraproject.org/security/

package-announce mailing list -- package-announce@lists.fedoraproject.org

To unsubscribe send an email to package-announce-leave@lists.fedoraproject.org

Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines

List Archives: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/

Do not reply to spam, report it:

Change Log

References

Update Instructions

Severity
critical
Lowest
Low
Medium
High
Critical

Product: Fedora 35
Version: 2.38.1
Release: 1.fc35
Summary: Fast Version Control System

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here