@nx/docker@22.5.0-pr.19781.8e35656

The Nx Plugin for Docker to aid in containerizing projects.

  • latest version

    23.3.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    3 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @nx/docker package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Command Injection

    @nx/docker is a The Nx Plugin for Docker to aid in containerizing projects.

    Affected versions of this package are vulnerable to Command Injection via the docker tag, docker push, and docker images calls in the release pipeline, where registry URL, repository name, version scheme, --docker-version, and NX_DOCKER_IMAGE_REF values are interpolated directly into shell command strings without escaping. An attacker who controls any of these values can inject shell metacharacters (e.g. ;) to execute arbitrary commands on the release machine.

    How to fix Command Injection?

    Upgrade @nx/docker to version 22.7.8, 23.1.1 or higher.

    >=21.4.0 <22.7.8>=23.0.0 <23.1.1