CVE-2024-50611: CycloneDX cdxgen - Remote Code Execution
- Cve: CVE-2024-50611
- Name: CycloneDX cdxgen - Remote Code Execution
- Description: CycloneDX cdxgen through 10.10.7, when run against an untrusted codebase, may execute code contained within build-related files such as build.gradle.kts, a similar issue to CVE-2022-24441. cdxgen is used by, for example, OWASP dep-scan. NOTE: this has been characterized as a design limitation, rather than an implementation mistake.
- Impact: Attackers can execute arbitrary code during dependency scanning, potentially leading to system compromise or malicious code injection.
- Remediation: Use cdxgen version 10.10.8 or later, or ensure build files are trusted before processing.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00848
- Epss percentile: 0.58848
- Assignee: [email protected]
- Published at: 2024-10-27T22:15:03Z
- Age in days: 758
- Modified at: 2026-06-17T08:04:48Z
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-50611
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://github.com/CycloneDX/cdxgen/issues/1328 |
| https://github.com/CycloneDX/cdxgen/releases |
| https://owasp.org/www-project-dep-scan/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cyclonedx:cdxgen | <= 10.10.7 | no | adp_cpes | /v1/products/cyclonedx/cdxgen |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| cyclonedx/cdxgen | issues, package, pull, releases | yes | /v1/repositories/cyclonedx/cdxgen |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts