7.8

CVE-2018-11235: canonical ubuntu_linux Path Traversal

CVSS: 7.8v3.0HighModified
AliasesALPINE-CVE-2018-11235RHSA-2018:1957UBUNTU-CVE-2018-11235
Published 30-05-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-11235 is a high (CVSS 7.8) Path Traversal vulnerability in canonical ubuntu_linux. EPSS estimates a 48.06% chance of exploitation in the next 30 days, higher than 98.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
51/100
0100
High · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.0 (NVD)
EPSS score
48.06%
0%100%
High · -0.69 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 12 · Related 10

Timeline

  1. 30-05-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

48.06%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

-0.69 pp

From 48.75% on 18-09-2026

18-09-202618-10-2026
EPSS score
48.06%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • exploit-databaseUnverified

    ExploitDB 44822

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Redhat22 products
Debian2 products
  • git< 1:2.17.1-1 | < 1:2.1.4-2.1+deb8u6 | < 1:2.11.0-3+deb9u3
  • debian_linuxEOL8.0 | 9.0
Alpine1 product
  • git≥ 2.14.0, < 2.17.1-r0 | ≥ 2.14.0, < 2.11.3-r1 | ≥ 2.14.0, < 2.13.7 | ≥ 2.14.0, < 2.15.2-r0
Canonical1 product
Git-scm1 product
  • git≤ 2.13.6 | ≥ 2.14.0, ≤ 2.14.3 | ≥ 2.15.0, ≤ 2.15.1 | ≥ 2.16.0, ≤ 2.16.3 | 2.17.0
Gitforwindows1 product
Ubuntu1 product
  • git< 1:1.9.1-1ubuntu0.8 | < 1:2.7.4-0ubuntu1.4 | < 1:2.17.1-1ubuntu0.1

7 vendors · 29 products

References

23 links
Show all 23 references