Link Following Affecting git-credential-libsecret-debuginfo package, versions <0:2.50.1-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GITCREDENTIALLIBSECRETDEBUGINFO-11335739
  • published30 Jul 2025
  • disclosed8 Jul 2025

Introduced: 8 Jul 2025

NewCVE-2025-48384  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 git-credential-libsecret-debuginfo to version 0:2.50.1-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1108.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git-credential-libsecret-debuginfo package and not the git-credential-libsecret-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.

CVSS Base Scores

version 3.1