p PatchFirst

PatchFirst · Latest vulnerabilities

git vulnerabilities

Vulnerabilities published for git in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 18

  1. CVE-2021-21300

    High · CVSS 8EPSS 88.53%Public exploitFix available

    malicious repositories can execute remote code while cloning

    Git is an open-source distributed revision control system. In affected versions of Git a specially crafted repository that contains symbolic links as well as files using a clean/smudge filter such as Git LFS, may cause just-checked out script to be executed while cloning onto a case-insensitive file system such as NTFS, HFS+ or APFS (i.e. the default file systems on Windows and macOS). Note that clean/smudge filters have to be configured for that. Git for Windows configures Git LFS by default, and is therefore vulnerable. The problem has been patched in the versions published on Tuesday, March 9th, 2021. As a workaound, if symbolic link suppo

    • Update to 1:2.7.4-0ubuntu1.10
    Published Updated
  2. CVE-2020-11008

    Medium · CVSS 4EPSS 3.87%Fix available

    Malicious URLs can still cause Git to send a stored credential to the wrong server

    Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing h

    • Update to 1:2.7.4-0ubuntu1.9
    Published Updated
  3. CVE-2020-5260

    Critical · CVSS 9.3EPSS 9.97%Fix available

    malicious URLs may cause Git to present stored credentials to the wrong server

    Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that contain an encoded newline can inject unintended values into the credential helper protocol stream, causing the credential helper to retrieve the password for one server (e.g., good.example.com) for an HTTP request being made to another server (e.g., evil.example.com), resulting in credentials for the former being sent to t

    • Update to 1:2.7.4-0ubuntu1.8
    Published Updated
  4. CVE-2019-1353

    Critical · CVSS 9.8EPSS 2.24%Fix available

    CVE-2019-1353

    An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. When running Git in the Windows Subsystem for Linux (also known as "WSL") while accessing a working directory on a regular Windows drive, none of the NTFS protections were active.

    • Update to 1:2.7.4-0ubuntu1.7
    Published Updated
  5. CVE-2019-1348

    Low · CVSS 3.3EPSS 0.43%Fix available

    CVE-2019-1348

    An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. The --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths.

    • Update to 1:2.7.4-0ubuntu1.7
    Published Updated
  6. CVE-2019-1387

    High · CVSS 8.8EPSS 4.43%Fix available

    CVE-2019-1387

    An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. Recursive clones are currently affected by a vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones.

    • Update to 1:2.7.4-0ubuntu1.7
    Published Updated
  7. CVE-2018-17456

    Critical · CVSS 9.8EPSS 97.36%Public exploitFix available

    CVE-2018-17456

    Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.

    • Update to 1:2.7.4-0ubuntu1.5
    Published Updated
  8. CVE-2018-11235

    High · CVSS 7.8EPSS 48.06%Fix available

    CVE-2018-11235

    In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

    • Update to 1:2.7.4-0ubuntu1.4
    Published Updated
  9. CVE-2017-15298

    Medium · CVSS 5.5EPSS 1.64%Fix available

    CVE-2017-15298

    Git through 2.14.2 mishandles layers of tree objects, which allows remote attackers to cause a denial of service (memory consumption) via a crafted repository, aka a Git bomb. This can also have an impact of disk consumption; however, an affected process typically would not survive its attempt to build the data structure in memory before writing to disk.

    • Update to 1:2.7.4-0ubuntu1.6
    Published Updated
  10. CVE-2017-1000117

    High · CVSS 8.8EPSS 77.82%Public exploitFix available

    CVE-2017-1000117

    A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-submodules" to trigger the vulnerability.

    • Update to 1:2.7.4-0ubuntu1.2
    Published Updated
  11. CVE-2017-14867

    High · CVSS 8.8EPSS 36%Fix available

    CVE-2017-14867

    Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.

    • Update to 1:2.7.4-0ubuntu1.3
    Published Updated
  12. CVE-2017-8386

    High · CVSS 8.8EPSS 12.39%Fix available

    CVE-2017-8386

    git-shell in git before 2.4.12, 2.5.x before 2.5.6, 2.6.x before 2.6.7, 2.7.x before 2.7.5, 2.8.x before 2.8.5, 2.9.x before 2.9.4, 2.10.x before 2.10.3, 2.11.x before 2.11.2, and 2.12.x before 2.12.3 might allow remote authenticated users to gain privileges via a repository name that starts with a - (dash) character.

    • Update to 1:2.7.4-0ubuntu1.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →