NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-50611: CycloneDX cdxgen may execute code contained within build-related files

mediumCVSS 4.0 6.2 · 3.1 6.4GHSA-hxf3-vgpm-fv9p

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.

Published Oct 28, 2024 · Updated Feb 3, 2025

Affected packages

@cyclonedx/cdxgen

Ecosystem
npm
Affected
< 11.1.7
Fixed in
11.1.7
Check
npm ls @cyclonedx/cdxgen

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to prabhu.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries