CVE-2018-14912: Path Traversal

Published Aug 3, 2018
·
Updated

cgitcloneobjects 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.

Affected Software

4 affected componentsFixes available
Cgit Project Cgit<1.2.1
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/cgit
1.2.3+git20221219.50.91f2590+git2.39.1-11.2.3+git20240802.70.09d24d7+git2.46.0-11.2.3+git20250818.80.3346409+git2.51.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cgit to a version that resolves this vulnerability.

    Fixed in 1.2.3+git20221219.50.91f2590+git2.39.1-1Fixed in 1.2.3+git20240802.70.09d24d7+git2.46.0-1Fixed in 1.2.3+git20250818.80.3346409+git2.51.0-1
  2. Upgrade

    Upgrade cgit to a version that resolves this vulnerability.

    Fixed in 1.2.1
  3. Configuration

    Disable HTTP clone by setting enable-http-clone=0 to prevent the directory traversal vulnerability when enable-http-clone=1 is not turned off.

    cgit enable-http-clone = 0

Event History

Aug 3, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
08:21 PM
SeverityAffected Software
Sep 14, 2026
Data Sourced
via Ubuntu·06:10 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·06:10 PM
Description
Data Sourced
via Debian·06:11 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-14912?

CVE-2018-14912 is classified as a medium severity vulnerability due to its potential for exploiting directory traversal.

2

How do I fix CVE-2018-14912?

To fix CVE-2018-14912, ensure that `enable-http-clone=0` is set or upgrade to CGit version 1.2.1 or later.

3

What software is affected by CVE-2018-14912?

CGit versions prior to 1.2.1 are affected by CVE-2018-14912, particularly when running on Debian systems.

4

What exploit does CVE-2018-14912 enable?

CVE-2018-14912 enables a directory traversal exploit that can expose sensitive filesystem information.

5

What is directory traversal in the context of CVE-2018-14912?

In the context of CVE-2018-14912, directory traversal allows an attacker to access files outside the intended directory paths, potentially leading to unauthorized data exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203