{"schemaVersion":3,"id":"CVE-2018-14912","aliases":["ALPINE-CVE-2018-14912","MGASA-2018-0351","UBUNTU-CVE-2018-14912","USN-8757-1","DEBIAN-CVE-2018-14912","DLA-1459-1","DSA-4263-1","openSUSE-SU-2024:10679-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-08-03T19:00:00.000Z","modified":"2024-08-05T09:46:25.186Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.9188,"percentile":0.99818,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-1.0000000000000009,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.9288},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.9303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.9188,"percentile":0.99818}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.9303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.9288,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.92033,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.9188,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.9188,"percentile":0.99818}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_3EAFFE8239408FE0","name":"Exploit Reference (bugs.chromium.org)","source":"reference","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1627","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"45195","name":"cgit 1.2.1 - Directory Traversal (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/45195","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/45195.rb","codes":["CVE-2018-14912"]},"metasploit":null},{"id":"MSF_AUXILIARY_SCANNER_HTTP_CGIT_TRAVERSAL","name":"cgit Directory Traversal","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/cgit_traversal.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/scanner/http/cgit_traversal","rank":"300","rankName":"normal","postAuth":false,"check":false,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"alpine","product":"cgit","name":"cgit","label":"cgit","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/cgit","purlType":"apk","versions":[{"text":"< 1.0-r2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1-r2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1-r3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0-r2 | < 1.1-r2 | < 1.1-r3 | < 1.1-r4","eol":null,"hubHref":null},{"vendor":"cgit_project","product":"cgit","name":"cgit","label":"cgit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.1","eol":null,"hubHref":"/vendor/cgit_project/cgit"},{"vendor":"debian","product":"cgit","name":"cgit","label":"cgit","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cgit","purlType":"deb","versions":[{"text":"< 1.1+git2.10.2-3.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.1+git2.10.2-3+deb9u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.10.2.git2.0.1-3+deb8u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1+git2.10.2-3.1 | < 1.1+git2.10.2-3+deb9u1 | < 0.10.2.git2.0.1-3+deb8u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cgit","name":"cgit","label":"cgit","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cgit","purlType":"deb","versions":[{"text":"< 1.1+git2.10.2-3ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.11.2.git2.3.2-1.1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1+git2.10.2-3ubuntu0.1 | < 0.11.2.git2.3.2-1.1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"cgit","name":"cgit","label":"cgit","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/cgit","purlType":"rpm","versions":[{"text":"< 0.12-3.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12-3.1.mga6","eol":null,"hubHref":null},{"vendor":"opensuse","product":"cgit&distro=openSUSE Tumbleweed","name":"cgit","label":"cgit&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/cgit&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.2.3-1.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.3-1.10","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00005.html","label":"lists.debian.org/debian-lts-announce/2018/08/msg00005.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/45195/","label":"www.exploit-db.com/exploits/45195/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"https://www.debian.org/security/2018/dsa-4263","label":"www.debian.org/security/2018/dsa-4263","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","WEB"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1627","label":"bugs.chromium.org/p/project-zero/issues/detail?id=1627","hostname":"bugs.chromium.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"https://lists.zx2c4.com/pipermail/cgit/2018-August/004176.html","label":"lists.zx2c4.com/pipermail/cgit/2018-August/004176.html","hostname":"lists.zx2c4.com","tags":["X Refsource MISC","Vendor Advisory","REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-14912","label":"security.alpinelinux.org/vuln/CVE-2018-14912","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0351.html","label":"advisories.mageia.org/MGASA-2018-0351.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23398","label":"bugs.mageia.org/show_bug.cgi?id=23398","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2018-14912","label":"ubuntu.com/security/CVE-2018-14912","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://git.zx2c4.com/cgit/commit/?id=53efaf30b50f095cad8c160488c74bba3e3b2680","label":"git.zx2c4.com/cgit/commit/?id=53efaf30b50f095cad8c160488c74bba3e3b2680","hostname":"git.zx2c4.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-14912","label":"www.cve.org/CVERecord?id=CVE-2018-14912","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8757-1","label":"ubuntu.com/security/notices/USN-8757-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-14912","label":"security-tracker.debian.org/tracker/CVE-2018-14912","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-14912","label":"www.suse.com/security/cve/CVE-2018-14912","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-08-03T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T09:46:25.186Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":58,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:34:35.166Z","stale":false,"partial":false}}