CycloneDX cdxgen may execute code contained within build-related files
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @cyclonedx/cdxgen | < 11.1.7 | 11.1.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-50611
- https://github.com/CycloneDX/cdxgen/issues/1328
- https://github.com/CycloneDX/cdxgen/pull/1614
- https://github.com/CycloneDX/cdxgen
- https://github.com/CycloneDX/cdxgen/releases
- https://github.com/CycloneDX/cdxgen/releases/tag/v11.1.7
- https://owasp.org/www-project-dep-scan
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-94- Platform
- npm
- Package
@cyclonedx/cdxgen- Disclosed
- 28.10.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hxf3-vgpm-fv9p - CC BY 4.0
Vulnerability history: @cyclonedx/cdxgen
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 10.2024 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 3
Disclosures per year
- 2024: 1
- 2025: 0
- 2026: 2
-
CycloneDX cdxgen may execute code contained within build-related files this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.