Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2025-48384

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2025-48384

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2025-48384

git

Source reference: /affected/0/package/name

Affected versions
1:2.39.2+next.20230215-1

Source reference: /affected/0/versions

1:2.39.2-1.1

Source reference: /affected/0/versions

1:2.39.5-0+deb12u1

Source reference: /affected/0/versions

1:2.39.5-0+deb12u2

Source reference: /affected/0/versions

Fixed versions
1:2.39.5-0+deb12u3

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

git

Source reference: /affected/1/package/name

Affected versions
1:2.47.2-0.2

Source reference: /affected/1/versions

Fixed versions
1:2.47.3-0+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

git

Source reference: /affected/2/package/name

Affected versions
1:2.47.2-0.2

Source reference: /affected/2/versions

1:2.48.0~rc1+next.20250101-1

Source reference: /affected/2/versions

1:2.49.0+next.20250314-1

Source reference: /affected/2/versions

1:2.49.0-1

Source reference: /affected/2/versions

1:2.49.0-2

Source reference: /affected/2/versions

1:2.49.0-3

Source reference: /affected/2/versions

1:2.50.0+next.20250615-1

Source reference: /affected/2/versions

1:2.50.0-1

Source reference: /affected/2/versions

1:2.50.0~rc0+next.20250528-1

Source reference: /affected/2/versions

Fixed versions
1:2.50.1-0.1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:2.39.5-0+deb12u3"
          }
        ]
      }
    ],
    "package": {
      "name": "git",
      "purl": "pkg:deb/debian/git?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1:2.39.2+next.20230215-1",
      "1:2.39.2-1.1",
      "1:2.39.5-0+deb12u1",
      "1:2.39.5-0+deb12u2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-48384.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:2.47.3-0+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "git",
      "purl": "pkg:deb/debian/git?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1:2.47.2-0.2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-48384.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:2.50.1-0.1"
          }
        ]
      }
    ],
    "package": {
      "name": "git",
      "purl": "pkg:deb/debian/git?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1:2.47.2-0.2",
      "1:2.48.0~rc1+next.20250101-1",
      "1:2.49.0+next.20250314-1",
      "1:2.49.0-1",
      "1:2.49.0-2",
      "1:2.49.0-3",
      "1:2.50.0+next.20250615-1",
      "1:2.50.0-1",
      "1:2.50.0~rc0+next.20250528-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-48384.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#15036 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement