QID 375525

Date Published: 2021-05-06

QID 375525: Cygwin Git Package Remote Code Execution

Cygwin is a Linux-style operating environment for Microsoft Windows.

Cywin git package is affected to execute arbitrary code as soon as the repository is checked out.

Affected Versions:
Cygwin git package version prior to 2.31.1-2

QID Detection Logic (authenticated):
The QID flags if it finds a vulnerable version of the git package in installed file. The location of the file is determined by the key "HKLM\SOFTWARE\Cygwin\setup", value "rootdir". The file is present in the <rootdir>\etc\setup folder.

Successful exploitation of this vulnerability may allow an attacker to execute arbitrary code as soon as the repository is checked out.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Upgrade to Cygwin git package to version 2.31.1-2 or later. For more information, please refer to the vendor advisory for affected Cygwin

    CVEs related to QID 375525

    Software Advisories
    Advisory ID Software Component Link
    Cygwin Git Windows URL Logo cygwin.com/packages/summary/git-src.html

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report