CWE
706
Advisory Published
Updated

CVE-2020-12278

First published: Mon Apr 27 2020(Updated: )

An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Libgit2 Libgit2<0.28.4
Debian Debian Linux=9.0
ubuntu/libgit2<0.24.1-2ubuntu0.2+
0.24.1-2ubuntu0.2+
ubuntu/libgit2<0.26.0+dfsg.1-1.1ubuntu0.2+
0.26.0+dfsg.1-1.1ubuntu0.2+
ubuntu/libgit2<0.28.4<0.99.0
0.28.4
0.99.0
debian/libgit2<=0.27.7+dfsg.1-0.2
0.27.7+dfsg.1-0.2+deb10u2
1.1.0+dfsg.1-4+deb11u1
1.1.0+dfsg.1-4+deb11u2
1.5.1+ds-1
1.5.1+ds-1+deb12u1
1.7.2+ds-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2020-12278?

    The severity of CVE-2020-12278 is critical, with a CVSS score of 9.8.

  • What is the affected software for CVE-2020-12278?

    The affected software for CVE-2020-12278 is Libgit2 (version up to exclusive 0.28.4) and Debian Linux (version exactly 9.0).

  • How does CVE-2020-12278 occur?

    CVE-2020-12278 occurs due to mishandling of equivalent filenames that exist because of NTFS Alternate Data Streams in libgit2.

  • Can CVE-2020-12278 result in remote code execution?

    Yes, CVE-2020-12278 may allow remote code execution when cloning a repository.

  • How can I fix CVE-2020-12278?

    To fix CVE-2020-12278, it is recommended to update to a version of libgit2 that is greater than or equal to 0.28.4 or apply the necessary patches.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203