Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @cyclonedx/cdxgen
  4. ›
  5. CVE-2024-50611

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

October 28, 2024 (updated February 3, 2025)

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.

References

  • github.com/CycloneDX/cdxgen
  • github.com/CycloneDX/cdxgen/issues/1328
  • github.com/CycloneDX/cdxgen/pull/1614
  • github.com/CycloneDX/cdxgen/releases
  • github.com/CycloneDX/cdxgen/releases/tag/v11.1.7
  • github.com/advisories/GHSA-hxf3-vgpm-fv9p
  • nvd.nist.gov/vuln/detail/CVE-2024-50611
  • owasp.org/www-project-dep-scan

Code Behaviors & Features

Detect and mitigate CVE-2024-50611 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 11.1.7

Fixed versions

  • 11.1.7

Solution

Upgrade to version 11.1.7 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@cyclonedx/cdxgen/CVE-2024-50611.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:39 +0000.