CVE-2018-14912 in the critical feed json
cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when `enable-http-clone=1` is not turned off, as demonstrat…
published 8y ago modified 4mo ago also EUVD-2018-6794
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 92.0%
- EPSS 92.0% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 2
- Metasploit and Exploit-DB, plus a Nuclei check
Summary
cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when `enable-http-clone=1` is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.
Patch / fix
- cgit_project cgit 1.2.1
- cgit Debian 14, Debian 13, Debian 12 1.1+git2.10.2-3.1
debian advisories DEBIAN-CVE-2018-14912
- cgit Ubuntu 18.04 LTS 1.1+git2.10.2-3ubuntu0.1
- cgit Ubuntu Pro 16.04 LTS 0.11.2.git2.3.2-1.1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-14912
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cgit openSUSE Tumbleweed 1.2.3-1.10
opensuse advisories openSUSE-SU-2024:10679-1
- cgit Alpine 3.5 1.0-r2
- cgit Alpine 3.6 1.1-r2
- cgit Alpine 3.7 1.1-r3
- cgit Alpine 3.8 1.1-r4
alpine advisories ALPINE-CVE-2018-14912
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cgit Arch Linux 1.2.1-1
arch linux advisories AVG-745
Is CVE-2018-14912 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-14912 updated cvss 7.5
cgit: directory traversal vulnerability in cgit < 1.2.1
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit auxiliary/scanner/http/cgit_traversal)
- Published
Exploit prediction
91.98% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit auxiliary/scanner/http/cgit_traversal cgit Directory Traversal metasploit auxiliary, normal rank, 2018-08-03
- EDB-45195 cgit 1.2.1 - Directory Traversal (Metasploit) webapps, 2018-08-14
- Nuclei template cgit < 1.2.1 - Directory Traversal nuclei detection template
- bugs.chromium.org https://bugs.chromium.org/p/project-zero/issues/detail?id=1627 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
exploit-db.com
/exploits/45195/
exploit, third-party-advisory, vdb-entry
-
bugs.chromium.org
/p/project-zero/issues/detail?id=1627
exploit, issue-tracking, third-party-advisory
-
debian.org
/security/2018/dsa-4263
vendor-advisory, third-party-advisory
-
lists.zx2c4.com
/pipermail/cgit/2018-August/004176.html
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/08/msg00005.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-14912
- NVD CVE-2018-14912
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.