Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-11235

published

git: arbitrary code execution when recursively cloning a malicious repository

Title from Red Hat VEX

Published
30 May 2018, 04:00:00 UTC
Updated
05 Aug 2024, 08:01:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2018-1035 Fixed Not stated Amazon Linux assessment
Alpine Linux edge git Fixed 2.17.1-r0 Package fix record
Debian jessie git Advisory build 1:2.1.4-2.1+deb8u6 DSA-4212-1
Oracle Linux 7 emacs-gitaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Red Hat Enterprise Linux RHEL-6 rh-git29-emacs-gitnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Alpine Linux v3.10 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.11 git Fixed 2.17.1-r0 Package fix record
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.12 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.13 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.14 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.15 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.16 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.17 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.18 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.19 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.20 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.21 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.22 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.23 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.24 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.5 git Fixed 2.11.3-r1 Package fix record
Alpine Linux v3.6 git Fixed 2.13.7 Package fix record
Alpine Linux v3.7 git Fixed 2.15.2-r0 Package fix record
Alpine Linux v3.8 git Fixed 2.17.1-r0 Package fix record
Alpine Linux v3.9 git Fixed 2.17.1-r0 Package fix record
Debian stretch git Advisory build 1:2.11.0-3+deb9u3 DSA-4212-1
Oracle Linux 7 emacs-gitx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 emacs-git-elaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 emacs-git-elx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 gitaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 gitx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-allaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-allx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-bzraarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-bzrx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-cvsaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-cvsx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-daemonaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-daemonx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-emailaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-emailx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-guiaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-guix86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-hgaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-hgx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-p4aarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-p4x86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-svnaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 git-svnx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 gitkaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 gitkx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 gitwebaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 gitwebx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 perl-Gitaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 perl-Gitx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 perl-Git-SVNaarch64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Oracle Linux 7 perl-Git-SVNx86_64 Advisory build 0:1.8.3.1-14.el7_5 ELSA-2018-1957
Red Hat Enterprise Linux RHEL-6 rh-git29-emacs-git-elnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-gitsrc Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-gitx86_64 Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-allnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-corex86_64 Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-core-docx86_64 Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-cvsnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-daemonx86_64 Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-debuginfox86_64 Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-emailnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-guinoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-p4noarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-git-svnx86_64 Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-gitknoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-gitwebnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-perl-Gitnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-6 rh-git29-perl-Git-SVNnoarch Advisory build 2.9.3-4.el6 RHSA-2018:2147
Red Hat Enterprise Linux RHEL-7 emacs-gitnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 emacs-git-elnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 gitaarch64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 gitppc64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 gitppc64le Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 gits390x Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 gitsrc Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 gitx86_64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-allnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-bzrnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-cvsnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-daemonaarch64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-daemonppc64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-daemonppc64le Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-daemons390x Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-daemonx86_64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-debuginfoaarch64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-debuginfoppc64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-debuginfoppc64le Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-debuginfos390x Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-debuginfox86_64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-emailnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-guinoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-hgnoarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-p4noarch Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-svnaarch64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957
Red Hat Enterprise Linux RHEL-7 git-svnppc64 Advisory build 1.8.3.1-14.el7_5 RHSA-2018:1957

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

43

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

11
  • openSUSE-SU-2020:0598 http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html vendor-advisory, x_refsource_SUSE, x_transferred Contributors: mitre (cna), CVE (adp)
  • 104345 http://www.securityfocus.com/bid/104345 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • 1040991 http://www.securitytracker.com/id/1040991 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: mitre (cna), CVE (adp)
  • RHSA-2018:1957 https://access.redhat.com/errata/RHSA-2018:1957 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • RHSA-2018:2147 https://access.redhat.com/errata/RHSA-2018:2147 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://marc.info/?l=git&m=152761328506724&w=2 x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-201805-13 https://security.gentoo.org/glsa/201805-13 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-3671-1 https://usn.ubuntu.com/3671-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-4212 https://www.debian.org/security/2018/dsa-4212 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)
  • 44822 https://www.exploit-db.com/exploits/44822/ exploit, x_refsource_EXPLOIT-DB, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d6d059e3b19faaec30eb58df50eecbcf5c4df30d33081c25a009b7330a76a574
Ingested
23 Sep 2026, 07:43:27 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected