VDB

ALPINE-CVE-2023-23946

ALPINE-CVE-2023-23946 PUBLISHED CVSS 7.5 HIGH

Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected Products

VendorProductVersions
Alpine:v3.15git2.24.0-r0, 0, 1.6.0.4-r1
Alpine:v3.18git2.4.6-r0, 2.4.5-r0, 2.4.4-r0
Alpine:v3.22git2.33.0-r0, 1.6.0.4-r2, 1.6.1-r0
Alpine:v3.23git1.6.0.4-r1, 1.6.0.4-r2, 1.6.1-r0
Alpine:v3.16git2.19.1-r1, 1.6.0.4-r1, 1.6.0.4-r2
Alpine:v3.19git2.3.6-r0, 2.3.0-r0, 2.29.2-r0
Alpine:v3.21git1.7.6-r0, 2.21.0-r1, 2.21.0-r2
Alpine:v3.17git2.26.1-r0, 0, 1.6.0.4-r1
Alpine:v3.20git1.9.1-r0, 2.26.1-r1, 2.26.2-r0
Alpine:v3.24git2.31.0
Alpine:v3.14git2.9.2-r0, 2.9.1-r0, 2.9.0-r0

Timeline

  • Feb 14, 2023 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jul 8, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›