hyperframes is vulnerable to Command Injection
64
CVE Score
Medium
Command Injection
The upgrade command in the Hyperframes CLI builds the string npm install -g hyperframes@<latest> from the version reported by the npm registry and, in non-interactive mode (--yes), executes it with execSync, which spawns a shell. Because the registry-supplied version value is used without validation, a poisoned or man-in-the-middled registry response carrying shell metacharacters (for example 1.2.3; <command>) is interpreted as extra shell commands. This allows arbitrary command execution on the machine running the CLI. The fix validates the version as strict semver and switches to execFileSync with shell:false so the value can no longer break out of the argument.
Upgrade the hyperframes library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you run the CLI's non-interactive upgrade --yes command.
0.2.3 - 0.6.7
Fixed in 0.6.8hyperframes is vulnerable to Command Injection in versions 0.2.3 - 0.6.7.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.