code-server is vulnerable to Server-Side Request Forgery (SSRF)
65
CVE Score
Medium
Server-Side Request Forgery (SSRF)
Affected versions of this package fail to properly validate that ports in the path proxy are numerical, allowing an attacker to manipulate the proxy target. The vulnerable code constructs a proxy URL without sanitizing req.params.port, enabling an attacker to inject malicious input (e.g., a domain instead of a port) and redirect traffic to an arbitrary domain. It could lead to server-side request forgery (SSRF) or data exfiltration by proxying traffic to an attacker-controlled server.
Upgrade the code-server library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
4.93.1 - 4.99.3
Fixed in 4.99.4code-server is vulnerable to Server-Side Request Forgery (SSRF) in versions 4.93.1 - 4.99.3.
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.