Skip to content

[Backport staging-24.11] git: 2.47.1 -> 2.47.2 - #374626

Merged
drupol merged 1 commit into
staging-24.11from
backport-373801-to-staging-24.11
Jan 17, 2025
Merged

drupol merged 1 commit into
staging-24.11from
backport-373801-to-staging-24.11

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Jan 17, 2025

Copy link
Copy Markdown
Contributor

Bot-based backport to staging-24.11, triggered by a label in #373801.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

Fixes CVE-2024-50349 and CVE-2024-52006

https://raw.githubusercontent.com/git/git/v2.47.2/Documentation/RelNotes/2.47.2.txt

```
    - CVE-2024-50349:

      Printing unsanitized URLs when asking for credentials makes the user
      susceptible to crafted URLs (e.g. in recursive clones). These URLs
      can mislead the user into typing in passwords for trusted sites that
      would then be sent to untrusted sites instead.

      A potential scenario of how this can be exploited is a recursive
      clone where one of the submodules prompts for a password, pretending
      to ask for a different host than the password will be sent to.

    - CVE-2024-52006:

      Git may pass on Carriage Returns via the credential protocol to
      credential helpers which use line-reading functions that interpret
      Carriage Returns as line endings, even though this is not what was
      intended (but Git’s documentation did not clarify that "newline"
      meant "Line Feed character").

      This affected the popular .NET-based Git Credential Manager, which
      has been updated accordingly in coordination with the Git project.
```

(cherry picked from commit 7e92703)
@nixpkgs-ci nixpkgs-ci Bot added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Jan 17, 2025
@nixpkgs-ci nixpkgs-ci Bot mentioned this pull request Jan 17, 2025
4 of 13 tasks
@github-actions github-actions Bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jan 17, 2025
@drupol
drupol merged commit a019435 into staging-24.11 Jan 17, 2025
@drupol
drupol deleted the backport-373801-to-staging-24.11 branch January 17, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants