CVE-2019-10802

giting version prior to 0.0.8 allows execution of arbritary commands

published February 28, 2020

CVSS
โ€”
EPSS
2%
Percentile
84.3
In the wild
Unconfirmed
What it is

โš ๏ธ Execute arbitrary commands just by pulling a repository! This sneaky oversight in giting prior to version 0.0.8 lets unverified input sneak right in. ๐Ÿ”ฅ Think of it like a restaurant that prepares any dish just by hearing its name, without checking if the ingredients are safe or even exist. One rogue order could lead to a very questionable meal! An attacker could easily exploit this by crafting a malicious repository name and executing any command on the host system. This could lead to unauthorized access, data breaches, or even system compromise โ€” absolutely devastating!

Put simply

Think of it like a restaurant that prepares any dish just by hearing its name, without checking if the ingredients are safe or even exist. One rogue order could lead to a very questionable meal! This vulnerability occurs because the first argument 'repo' in the function 'pull()' is executed without any validation, allowing attackers to run arbitrary commands through crafted inputs.

What to do

An attacker could easily exploit this by crafting a malicious repository name and executing any command on the host system. This could lead to unauthorized access, data breaches, or even system compromise โ€” absolutely devastating! To mitigate this, update giting to version 0.0.8 or higher immediately. Implement input validation to verify that repository names are safe before executing them. Regularly review your dependencies for vulnerabilities! You've got this! With these steps, you can secure your application and keep your systems safe. ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02458 ยท 84.3th percentile
Published
2020-02-28T20:42Z
EPSS history
Timeline
  • 28 FEB 20:42Z
    giting version prior to 0.0.8 allows execution of arbritary commands
    cvelistv5