CVE catalog

CVE-2018-11235

git: CVE-2018-11235

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
48.06% · Oct 25, 2026

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangitsid1:2.55.0-1fixed
Debiangitforky1:2.53.0-1fixed
Debiangittrixie1:2.47.3-0+deb13u1fixed
Debiangitbookworm1:2.39.5-0+deb12u3fixed
Debiangitbookworm-security1:2.39.5-0+deb12u2fixed
Alpinegit3.102.17.1-r0fixed
Alpinegit3.112.17.1-r0fixed
Alpinegit3.122.17.1-r0fixed
Alpinegit3.132.17.1-r0fixed
Alpinegit3.142.17.1-r0fixed
Alpinegit3.152.17.1-r0fixed
Alpinegit3.162.17.1-r0fixed
Alpinegit3.172.17.1-r0fixed
Alpinegit3.182.17.1-r0fixed
Alpinegit3.192.17.1-r0fixed
Alpinegit3.202.17.1-r0fixed
Alpinegit3.212.17.1-r0fixed
Alpinegit3.222.17.1-r0fixed
Alpinegit3.232.17.1-r0fixed
Alpinegit3.242.17.1-r0fixed
Alpinegit3.52.11.3-r1fixed
Alpinegit3.62.13.7fixed
Alpinegit3.72.15.2-r0fixed
Alpinegit3.82.17.1-r0fixed
Alpinegit3.92.17.1-r0fixed
Ubuntugit14.041:1.8.3.2-1vulnerable
Ubuntugit14.041:1.8.4.2-1vulnerable
Ubuntugit14.041:1.8.4.3-1vulnerable
Ubuntugit14.041:1.8.4.4-1vulnerable
Ubuntugit14.041:1.8.5-1vulnerable
Ubuntugit14.041:1.8.5.1-1vulnerable
Ubuntugit14.041:1.8.5.2-1vulnerable
Ubuntugit14.041:1.8.5.2-2vulnerable
Ubuntugit14.041:1.8.5.3-1vulnerable
Ubuntugit14.041:1.9~rc1-1vulnerable
Ubuntugit14.041:1.9.0-1vulnerable
Ubuntugit14.041:1.9.1-1vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.1vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.2vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.3vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.4vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.5vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.6vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.7vulnerable
Ubuntugit14.041:1.9.1-1ubuntu0.8fixed
Ubuntugit16.041:2.5.0-1vulnerable
Ubuntugit16.041:2.6.2-1vulnerable
Ubuntugit16.041:2.6.3-1vulnerable
Ubuntugit16.041:2.6.4-1vulnerable
Ubuntugit16.041:2.7.0~rc3-1vulnerable
Ubuntugit16.041:2.7.0-1vulnerable
Ubuntugit16.041:2.7.3-0ubuntu1vulnerable
Ubuntugit16.041:2.7.4-0ubuntu1vulnerable
Ubuntugit16.041:2.7.4-0ubuntu1.1vulnerable
Ubuntugit16.041:2.7.4-0ubuntu1.2vulnerable
Ubuntugit16.041:2.7.4-0ubuntu1.3vulnerable
Ubuntugit16.041:2.7.4-0ubuntu1.4fixed
Ubuntugit18.041:2.14.1-1ubuntu4vulnerable
Ubuntugit18.041:2.15.1-1ubuntu2vulnerable
Ubuntugit18.041:2.17.0-1ubuntu1vulnerable
Ubuntugit18.041:2.17.1-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangitsourcesid1:2.17.1-1not yet assignedNot reportedNot reported
Debiangitsourceforky1:2.17.1-1not yet assignedNot reportedNot reported
Debiangitsourcetrixie1:2.17.1-1not yet assignedNot reportedNot reported
Debiangitsourcebookworm1:2.17.1-1not yet assignedNot reportedNot reported
Alpinegitapk3.102.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.112.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.122.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.132.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.142.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.152.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.162.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.172.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.182.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.192.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.202.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.212.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.222.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.232.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.242.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.52.11.3-r1Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.62.13.7Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.72.15.2-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.82.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Alpinegitapk3.92.17.1-r0Not reportedALPINE-CVE-2018-11235Not reported
Ubuntugitdeb14.041:1.9.1-1ubuntu0.8Not reportedUBUNTU-CVE-2018-11235Not reported
Ubuntugitdeb16.041:2.7.4-0ubuntu1.4Not reportedUBUNTU-CVE-2018-11235Not reported
Ubuntugitdeb18.041:2.17.1-1ubuntu0.1Not reportedUBUNTU-CVE-2018-11235Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [git]Fixed
    Details (4)
    • 1:2.39.5-0+deb12u3 · amd64 · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-all]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-cvs]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-doc]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-email]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-gui]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [gitk]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-man]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [git-svn]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

  • [gitweb]Fixed

    Source package: [git]

    Details (4)
    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

    • 1:2.39.5-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · bookworm; dsa · git · debian · 12

[Debian 13 (Trixie)]

  • [git]Fixed
    Details (2)
    • 1:2.47.3-0+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

  • [git-all]Fixed

    Source package: [git]

    Details (2)
    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

  • [git-cvs]Fixed

    Source package: [git]

    Details (2)
    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

  • [git-doc]Fixed

    Source package: [git]

    Details (2)
    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

  • [git-email]Fixed

    Source package: [git]

    Details (2)
    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

  • [git-gui]Fixed

    Source package: [git]

    Details (2)
    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

  • [gitk]Fixed

    Source package: [git]

    Details (2)
    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

    • 1:2.47.3-0+deb13u1 · all · trixie

      Fixed · Fixed: 1:2.17.1-1

      dsa · git · debian · 13

Next results

Observed:

References