cve.bz

CVE-2018-14912 Path traversal

7.5 highExploitEPSS 92%

High (7.5). EPSS 92% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
92% (unchanged from 92% a week ago; 92% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-14912 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-14912?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-14912?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-14912 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cgit_project:cgitbefore 1.2.1
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8cgit0.10.2.git2.0.1-3+deb8u2DLA-1459-1
Debian9cgit1.1+git2.10.2-3+deb9u1DSA-4263-1
Debian12, 13, 14cgit1.1+git2.10.2-3.1DEBIAN-CVE-2018-14912
Ubuntu18.04:LTScgit1.1+git2.10.2-3ubuntu0.1UBUNTU-CVE-2018-14912
UbuntuPro:16.04:LTScgit0.11.2.git2.3.2-1.1ubuntu0.1~esm1UBUNTU-CVE-2018-14912 USN-8757-1
openSUSETumbleweedcgit1.2.3-1.10openSUSE-SU-2024:10679-1
Alpinev3.5cgit1.0-r2ALPINE-CVE-2018-14912
Alpinev3.6cgit1.1-r2ALPINE-CVE-2018-14912
Alpinev3.7cgit1.1-r3ALPINE-CVE-2018-14912
Alpinev3.8cgit1.1-r4ALPINE-CVE-2018-14912

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON