MEDIUM6.4
GHSA-hxf3-vgpm-fv9p
CycloneDX cdxgen may execute code contained within build-related files
Quick fix
GHSA-hxf3-vgpm-fv9p — @cyclonedx/cdxgen: upgrade to the fixed version with the command below.
npm install @cyclonedx/cdxgen@11.1.7Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-50611[ADVISORY]
- https://github.com/CycloneDX/cdxgen/issues/1328[WEB]
- https://github.com/CycloneDX/cdxgen/pull/1614[WEB]
- https://github.com/CycloneDX/cdxgen[PACKAGE]
- https://github.com/CycloneDX/cdxgen/releases[WEB]
- https://github.com/CycloneDX/cdxgen/releases/tag/v11.1.7[WEB]
- https://owasp.org/www-project-dep-scan[WEB]