VDB
Sign up
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.7

Details

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

npm/@cyclonedx/cdxgen
Introduced in: 0Fixed in: 11.1.7
Fixnpm install @cyclonedx/cdxgen@11.1.7

References