projen@0.102.0

CDK for software projects

  • latest version

    0.103.24

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the projen 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

    projen is a CDK for software projects

    Affected versions of this package are vulnerable to Command Injection in the task synthesis, which interpolates configuration properties and auto-discovered file names into the generated .projen/tasks.json without escaping shell metacharacters, affecting properties including extraArgs, testMatch, entrypoint, registryUrl, and distdir. An attacker who can influence project configuration or repository file names, as a contributor or by adding a file whose name carries shell metacharacters such as ;, &&, $(...), or backticks, can execute commands with the filesystem access and secrets of a developer workstation or CI runner. This requires the ability to modify configuration or contribute files, and execution occurs when an affected task runs, which spans the project lifecycle from test and eslint through release and publish:*.

    Note: The project maintainers advise that "After upgrading, you must re-synthesize your project to regenerate .projen/tasks.json with the corrected task definitions."

    How to fix Command Injection?

    Upgrade projen to version 0.103.0 or higher.

    [,0.103.0)