stable

git-2.38.1-1.fc37

FEDORA-2022-fb088df94c created by tmz 2 years ago for Fedora 37

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

From the upstream release notes:

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.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2022-fb088df94c

This update has been submitted for testing by tmz.

2 years ago

This update's test gating status has been changed to 'waiting'.

2 years ago

This update's test gating status has been changed to 'passed'.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon vtrefny provided feedback 2 years ago
karma
User Icon kparal commented & provided feedback 2 years ago
karma

no issues with git usage in my projects

This update can be pushed to stable now if the maintainer wishes

2 years ago

This update has been submitted for stable by tmz.

2 years ago
User Icon t3rm1n4l commented & provided feedback 2 years ago
karma

wfm

User Icon bojan commented & provided feedback 2 years ago
karma

Works.

User Icon jfoster commented & provided feedback 2 years ago
karma

working fine

User Icon jpopelka commented & provided feedback 2 years ago
karma

works ok

This is going to make Ruby / RubyGems FTBFS:

https://koschei.fedoraproject.org/package/rubygems?collection=f38

Mostly FYI and if anybody else hits similar issues.

User Icon nb provided feedback 2 years ago
karma

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
security
Severity
medium
Karma
7
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
14 days
Dates
submitted
2 years ago
in testing
2 years ago
in stable
2 years ago

Automated Test Results