Arbitrary Code Execution Affecting projen package, versions >=0.6.0 <0.16.41


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 0.24% (64th percentile)
Expand this section
NVD
8.1 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-PROJEN-1243686
  • published 7 Apr 2021
  • disclosed 7 Apr 2021
  • credit Unknown

How to fix?

Upgrade projen to version 0.16.41 or higher.

Overview

projen is a CDK for software projects

Affected versions of this package are vulnerable to Arbitrary Code Execution. Users of projen's NodeProject project type (including any project type derived from it) include a .github/workflows/rebuild-bot.yml workflow that may allow any GitHub user to trigger execution of un-trusted code in the context of the main repository (as opposed to that of a fork). In some situations, such untrusted code may potentially be able to commit to the main repository.

References