CVE-2021-3028
Python vulnerability analysis and mitigation

Overview

CVE-2021-3028 affects git-big-picture versions before 1.0.0. The vulnerability was discovered in early 2021 and involves improper handling of single quote characters in branch names, which could lead to code execution (NVD).

Technical details

The vulnerability stems from improper input validation (CWE-20) in git-big-picture's handling of branch names containing single quote characters. The CVSS v3.1 base score is 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

When exploited, this vulnerability could allow an attacker to execute arbitrary code through specially crafted branch names containing single quotes. The vulnerability affects the core functionality of git-big-picture and could lead to system compromise (GitHub PR).

Exploitability

The vulnerability can be exploited by creating a branch name containing malicious code with single quotes. A proof of concept exists: git branch "',subprocess.call('echo'+chr(32)+'owned',shell=True),'" which demonstrates code execution capability (GitHub PR).

Mitigation and workarounds

The vulnerability was fixed in version 1.0.0 of git-big-picture. The fix involves using Git's --python format option for proper escaping of special characters in branch names. Users should upgrade to version 1.0.0 or later to protect against this vulnerability (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-j659-8xh6-5pq5HIGH8.7
  • Python logoPython
  • atomic-agents-stack
NoYesAug 17, 2026
GHSA-xhcr-cqfr-m3hvHIGH8.7
  • Python logoPython
  • atomic-agents-stack
NoYesAug 17, 2026
CVE-2026-71491HIGH8.7
  • Python logoPython
  • sqlparse
NoYesAug 17, 2026
CVE-2026-68519HIGH7.1
  • Python logoPython
  • glances
NoYesAug 17, 2026
CVE-2026-68520MEDIUM5.3
  • Python logoPython
  • glances
NoYesAug 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management