Skip to main content

Improper Control of Generation of Code ('Code Injection')

CVE-2019-1387

Severity High
Score 8.8/10

Summary

An issue was found in Git versions 2.12.x prior to 2.14.6, 2.15.x prior to 2.15.4, 2.16.x prior to 2.16.6, 2.17.x prior to 2.17.3, 2.18.x prior to 2.18.2, 2.19.x prior to 2.19.3, 2.20.x prior to 2.20.2, 2.21.x prior to 2.21.1, 2.22.x prior to 2.22.2, 2.23.x prior to 2.23.1, and 2.24.x prior to 2.24.1. 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-94 - Code Injection

Code injection is a type of vulnerability that allows an attacker to execute arbitrary code. This vulnerability fully compromises the machine and can cause a wide variety of security issues, such as unauthorized access to sensitive information, manipulation of data, denial of service attacks etc. Code injection is different from command injection in the fact that it is limited by the functionality of the injected language (e.g. PHP), as opposed to command injection, which leverages existing code to execute commands, usually within the context of a shell.

Advisory Timeline

  • Published