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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (69th percentile)

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 IDSNYK-JS-PROJEN-1243686
  • published7 Apr 2021
  • disclosed7 Apr 2021
  • creditUnknown

Introduced: 7 Apr 2021

CVE-2021-21423  (opens in a new tab)
CWE-527  (opens in a new tab)

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

CVSS Scores

version 3.1