high7.2
CVE-2024-50611
CycloneDX cdxgen may execute code contained within build-related files
Impact
CycloneDX cdxgen prior to 11.1.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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @cyclonedx/cdxgen | < 11.1.7 | 11.1.7 |
Affected products
| Product | Affected versions |
|---|---|
| CycloneDX Cdxgen | through 10.10.7 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/CycloneDX/cdxgen/issues/1328
- https://github.com/CycloneDX/cdxgen/releases
- https://owasp.org/www-project-dep-scan/
- https://github.com/advisories/GHSA-hxf3-vgpm-fv9p
- https://nvd.nist.gov/vuln/detail/CVE-2024-50611
- https://owasp.org/www-project-dep-scan
- https://github.com/CycloneDX/cdxgen/pull/1614
- https://github.com/CycloneDX/cdxgen/releases/tag/v11.1.7