Arbitrary Code Execution

Affecting projen package, versions >=0.6.0 <0.16.41

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

Upgrade projen to version 0.16.41 or higher.

References

CVSS Score

5.9
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    High
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    None
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Credit
Unknown
CVE
CVE-2021-21423
CWE
CWE-527
Snyk ID
SNYK-JS-PROJEN-1243686
Disclosed
07 Apr, 2021
Published
07 Apr, 2021