Advisories

CodeWhale before 0.8.64 Argument Injection via git_blame

Go Back
severity
high
date
Affecting
  • CodeWhale >= 0.3.27, < 0.8.41

  • CodeWhale >= 0.3.27, < 0.8.41

  • CodeWhale >= 0.8.41, < 0.8.64

  • CodeWhale >= 0.8.41, < 0.8.64

CWE
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CVSS
8.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Credit
0xEr3n
Description
CodeWhale versions before 0.8.64 contain an argument injection vulnerability in the git_blame tool that allows attackers to read arbitrary files by injecting git options into the unvalidated rev parameter. Attackers can supply rev values like --contents=/path/to/file to exfiltrate sensitive files such as SSH keys and credentials through the tool output returned to the model.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.