git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[ANNOUNCE] Git v2.48.1 and friends

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 14, 2025, 18:00 UTC
Message-ID
<xmqq5xmh46oc.fsf@gitster.g>

A maintenance release Git v2.48.1, together with releases for older maintenance tracks (v2.40.4, v2.41.3, v2.42.4, v2.43.6, v2.44.3, v2.45.3, v2.46.3, and v2.47.2) are now available at the usual places. These are to address a couple of security issues.

The tarballs are found at:
    https://www.kernel.org/pub/software/scm/git/

The following public repositories all have a copy of the 'v2.48.1' tag, as well as the tags for older maintenance tracks listed above.

  url = https://git.kernel.org/pub/scm/git/git
  url = https://kernel.googlesource.com/pub/scm/git/git
  url = git://repo.or.cz/alt-git.git
  url = https://github.com/gitster/git

These releases make Git refuse to accept URLs that contain control sequences to address CVE-2024-50349 and CVE-2024-52006.

 - CVE-2024-50349:
   Printing unsanitized URLs when asking for credentials made the
   user susceptible to crafted URLs (e.g. in recursive clones) that
   mislead the user into typing in passwords for trusted sites that
   would then be sent to untrusted sites instead.
 - CVE-2024-52006
   Git may pass on Carriage Returns via the credential protocol to
   credential helpers which use line-reading functions that
   interpret said Carriage Returns as line endings, even though Git
   did not intend that.

Huge credit goes to Dscho who led and coordinated the fixes for this set of releases.

Next: Johannes Schindelin
Message 1 of 9 in “[ANNOUNCE] Git v2.48.1 and friends”
  1. Junio C HamanoJan 14, 2025
  2. Johannes SchindelinJan 14, 2025
  3. rsbecker@nexbridge.comJan 14, 2025
  4. Johannes SchindelinJan 14, 2025
  5. rsbecker@nexbridge.comJan 14, 2025
  6. Junio C HamanoJan 15, 2025
  7. rsbecker@nexbridge.comJan 15, 2025
  8. Junio C HamanoJan 15, 2025
  9. Junio C HamanoJan 14, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.