p PatchFirst

PatchFirst · Latest vulnerabilities

@cyclonedx/cdxgen vulnerabilities

Vulnerabilities published for @cyclonedx/cdxgen in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 3

  1. GHSA-5vwr-qchf-q4pf

    Medium · CVSS 6.9Fix available

    @cyclonedx/cdxgen: Maven project scanning may allow shell command injection through repository-controlled module paths

    ## Summary A command injection vulnerability existed in the Maven scanning flow of cdxgen before version 12.4.3. When cdxgen scanned an attacker-controlled Maven project, repository-controlled paths could be used in the Maven command construction. In affected versions, some Maven invocations were executed with `shell: true`. A directory name containing shell metacharacters could therefore be interpreted by the shell instead of being treated only as a filesystem path. This could allow an attacker who controls a scanned repository to execute commands in the cdxgen process context. The issue affected both the CLI and server mode. The issue i

    • Update to 12.4.3
    Published Updated
  2. GHSA-qhh4-458h-xwh2

    Medium · CVSS 6.9Fix available

    @cyclonedx/cdxgen: Docker registry auth substring match forwards credentials to a different registry

    # Docker registry auth substring match forwards credentials to a different registry ## Repository `cdxgen/cdxgen` ## Affected product/package - Ecosystem: npm - Package: `@cyclonedx/cdxgen` - Reviewed tree version: `12.3.3` - Reviewed commit: `b1e179869fd7c6032c3d483c3f7bd4d7154ec22b` - Affected file: `lib/managers/docker.js` - Affected from: v9.9.5 The Single Executable Applications (SEA) binaries and container images are also affected. ## Weakness CWE-522 / CWE-346. ## Summary When cdxgen scans or pulls container images through the Docker daemon API, it builds an `X-Registry-Auth` header from Docker credentials in `DOCKER_CONFIG/co

    • Update to 12.3.3
  3. CVE-2024-50611

    High · CVSS 7.2EPSS 0.85%Fix available

    CVE-2024-50611

    CycloneDX cdxgen through 10.10.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.

    • Update to 11.1.7
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →