CVE-2024-50611 json
CycloneDX cdxgen may execute code contained within build-related files
published 2024-10-27 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3060 , GHSA-hxf3-vgpm-fv9p
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @cyclonedx/cdxgen 11.1.7
- cyclonedx cdxgen 11.1.7
- github.com/CycloneDX/cdxgen#1614 pull request
- github.com/CycloneDX/cdxgen/releases/tag/v11.1.7 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @cyclonedx/cdxgen | <11.1.7 |
11.1.7 |
Affected products
- cyclonedx cdxgen
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/CycloneDX/cdxgen/pull/1614
web
-
github.com
/CycloneDX/cdxgen/releases
web
-
github.com
/CycloneDX/cdxgen/issues/1328
web
- owasp.org /www-project-dep-scan/
-
nvd.nist.gov
/vuln/detail/CVE-2024-50611
advisory
-
github.com
/CycloneDX/cdxgen
package
-
github.com
/CycloneDX/cdxgen/releases/tag/v11.1.7
web
-
owasp.org
/www-project-dep-scan
web
Sources
- CVE List CVE-2024-50611
- GitHub Advisory GHSA-hxf3-vgpm-fv9p
- NVD CVE-2024-50611
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.