CVE-2024-21571: snyk code agent Improper Control of Generation of Code
Vulnerability summary
CVE-2024-21571 is a high (CVSS 8.1) Improper Control of Generation of Code vulnerability in snyk code agent. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.8% of scored vulnerabilities.
Not severe (CVSS 8.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-12-2024PublishedVulnerability first disclosed.
- 06-12-2024Last modifiedVulnerability information updated.
Description
Snyk has identified a remote code execution (RCE) vulnerability in all versions of Code Agent. The vulnerability enables an attacker to execute arbitrary code within the Code Agent container. Exploiting this vulnerability would require an attacker to have network access to the Code Agent within the deployment environment. External exploitation of this vulnerability is unlikely and depends on both misconfigurations of the cluster and/or chaining with another vulnerability. However, internal exploitation (with a cluster misconfiguration) could still be possible.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.1HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Snyk1 product
- code agentAll versions (No fix recorded)
1 vendor · 1 product