Advisory

GHSA-hxf3-vgpm-fv9p

Also known as: CVE-2024-50611

Summary

CycloneDX cdxgen may execute code contained within build-related files

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-28 00:30 UTC
Modified
2025-02-03 13:28 UTC

Affected packages and fixes

@cyclonedx/cdxgen

npm · All systems

Affected

  • introduced 0, fixed 11.1.7 (semver)

Fixed versions

11.1.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences