Advisories

CodeWhale before 0.8.64 Environment Variable Leak via js_execution

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

  • CodeWhale >= 0.8.32, < 0.8.41

  • CodeWhale >= 0.8.41, < 0.8.64

  • CodeWhale >= 0.8.41, < 0.8.64

CWE
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CVSS
8.7
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
fg0x0
Description
CodeWhale versions before 0.8.64 contain an environment variable exposure vulnerability in the js_execution tool that fails to scrub parent process environment variables before spawning Node.js. Attackers can craft malicious JavaScript code executed by the tool to read process.env and leak API keys, cloud credentials, and authentication tokens back to the model context.

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.