CVE-2021-28955

git-bug before 0.7.2 has an Uncontrolled Search Path Element

published March 22, 2021

CVSS
—
EPSS
2%
Percentile
77.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky search path element could let an attacker run rogue scripts without a second glance! Imagine if your computer accepted any delivery without checking the sender's address — that's what happens here. 🔍 It's like a restaurant with a menu that lets anyone in the kitchen decide what dish to serve, without verifying any orders. If someone sneaks in and changes the recipe, everyone’s getting a surprise! With this vulnerability, if an attacker manages to place a malicious git.bat file in the working directory, they could execute harmful scripts simply by running basic git commands. This could lead to data loss, unauthorized access, or even complete system compromise, making it a surprisingly dangerous oversight!

Put simply

It's like a restaurant with a menu that lets anyone in the kitchen decide what dish to serve, without verifying any orders. If someone sneaks in and changes the recipe, everyone’s getting a surprise! This flaw in git-bug versions prior to 0.7.2 allows the execution of git.bat from the current directory due to an uncontrolled search path element in the PATH environment variable, particularly on Windows systems.

What to do

With this vulnerability, if an attacker manages to place a malicious git.bat file in the working directory, they could execute harmful scripts simply by running basic git commands. This could lead to data loss, unauthorized access, or even complete system compromise, making it a surprisingly dangerous oversight! To safeguard against this issue, update git-bug to version 0.7.2 or later immediately. Additionally, review your PATH settings, ensuring that the current directory is not prioritized for executable searches, and consider implementing stricter file permissions. 🛡️ This is absolutely fixable! Follow the steps above, and you're well on your way to securing your environment. You've got this! 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01719 · 77.3th percentile
Published
2021-03-22T06:19Z
EPSS history
Timeline
  • 22 MAR 06:19Z
    git-bug before 0.7.2 has an Uncontrolled Search Path Element
    cvelistv5