CVE-2021-21423

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21423
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21423.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21423
Aliases
Published
2021-04-06T19:15:14Z
Modified
2024-10-12T06:47:51.704327Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

projen is a project generation tool that synthesizes project configuration files such as package.json, tsconfig.json, .gitignore, GitHub Workflows, eslint, jest, and more, from a well-typed definition written in JavaScript. 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. The rebuild-bot workflow is triggered by comments including @projen rebuild on pull-request to trigger a re-build of the projen project, and updating the pull request with the updated files. This workflow is triggered by an issue_comment event, and thus always executes with a GITHUB_TOKEN belonging to the repository into which the pull-request is made (this is in contrast with workflows triggered by pull_request events, which always execute with a GITHUB_TOKEN belonging to the repository from which the pull-request is made). Repositories that do not have branch protection configured on their default branch (typically main or master) could possibly allow an untrusted user to gain access to secrets configured on the repository (such as NPM tokens, etc). Branch protection prohibits this escalation, as the managed GITHUB_TOKEN would not be able to modify the contents of a protected branch and affected workflows must be defined on the default branch.

References

Affected packages

Git / github.com/projen/projen

Affected ranges

Type
GIT
Repo
https://github.com/projen/projen
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.1
v0.1.10
v0.1.11
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.2
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.24
v0.1.26
v0.1.27
v0.1.28
v0.1.29
v0.1.3
v0.1.30
v0.1.31
v0.1.32
v0.1.33
v0.1.35
v0.1.36
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.10.0
v0.10.1
v0.11.0
v0.12.0
v0.12.1
v0.12.10
v0.12.11
v0.12.12
v0.12.13
v0.12.14
v0.12.15
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.12.6
v0.12.7
v0.12.8
v0.12.9
v0.13.0
v0.13.1
v0.13.10
v0.13.11
v0.13.12
v0.13.13
v0.13.2
v0.13.3
v0.13.4
v0.13.5
v0.13.6
v0.13.7
v0.13.8
v0.13.9
v0.14.0
v0.14.1
v0.14.10
v0.14.2
v0.14.3
v0.14.4
v0.14.5
v0.14.6
v0.14.7
v0.14.8
v0.14.9
v0.15.0
v0.15.1
v0.15.10
v0.15.11
v0.15.12
v0.15.13
v0.15.14
v0.15.15
v0.15.16
v0.15.17
v0.15.18
v0.15.2
v0.15.3
v0.15.4
v0.15.5
v0.15.6
v0.15.7
v0.15.8
v0.15.9
v0.16.0
v0.16.1
v0.16.10
v0.16.11
v0.16.12
v0.16.13
v0.16.14
v0.16.15
v0.16.16
v0.16.17
v0.16.18
v0.16.19
v0.16.2
v0.16.20
v0.16.21
v0.16.22
v0.16.23
v0.16.24
v0.16.25
v0.16.26
v0.16.27
v0.16.28
v0.16.29
v0.16.3
v0.16.30
v0.16.31
v0.16.32
v0.16.33
v0.16.34
v0.16.35
v0.16.36
v0.16.37
v0.16.38
v0.16.39
v0.16.40
v0.16.5
v0.16.7
v0.16.8
v0.16.9
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.3.0
v0.3.1
v0.3.10
v0.3.100
v0.3.101
v0.3.103
v0.3.104
v0.3.105
v0.3.106
v0.3.109
v0.3.11
v0.3.111
v0.3.113
v0.3.114
v0.3.116
v0.3.118
v0.3.119
v0.3.12
v0.3.121
v0.3.122
v0.3.123
v0.3.124
v0.3.125
v0.3.126
v0.3.127
v0.3.128
v0.3.13
v0.3.130
v0.3.131
v0.3.132
v0.3.133
v0.3.135
v0.3.136
v0.3.137
v0.3.138
v0.3.139
v0.3.14
v0.3.140
v0.3.141
v0.3.142
v0.3.143
v0.3.144
v0.3.145
v0.3.146
v0.3.147
v0.3.148
v0.3.149
v0.3.15
v0.3.150
v0.3.151
v0.3.152
v0.3.153
v0.3.154
v0.3.155
v0.3.156
v0.3.157
v0.3.158
v0.3.159
v0.3.160
v0.3.161
v0.3.162
v0.3.163
v0.3.164
v0.3.165
v0.3.166
v0.3.167
v0.3.168
v0.3.169
v0.3.170
v0.3.171
v0.3.172
v0.3.173
v0.3.174
v0.3.175
v0.3.176
v0.3.177
v0.3.178
v0.3.18
v0.3.19
v0.3.2
v0.3.20
v0.3.21
v0.3.22
v0.3.23
v0.3.24
v0.3.25
v0.3.26
v0.3.27
v0.3.28
v0.3.3
v0.3.30
v0.3.31
v0.3.32
v0.3.34
v0.3.36
v0.3.37
v0.3.38
v0.3.39
v0.3.4
v0.3.41
v0.3.42
v0.3.43
v0.3.44
v0.3.45
v0.3.46
v0.3.47
v0.3.48
v0.3.5
v0.3.50
v0.3.54
v0.3.55
v0.3.57
v0.3.58
v0.3.59
v0.3.6
v0.3.60
v0.3.61
v0.3.62
v0.3.64
v0.3.65
v0.3.66
v0.3.68
v0.3.69
v0.3.70
v0.3.71
v0.3.72
v0.3.73
v0.3.74
v0.3.75
v0.3.76
v0.3.78
v0.3.79
v0.3.8
v0.3.80
v0.3.81
v0.3.82
v0.3.83
v0.3.84
v0.3.85
v0.3.86
v0.3.87
v0.3.88
v0.3.89
v0.3.9
v0.3.90
v0.3.91
v0.3.92
v0.3.93
v0.3.94
v0.3.95
v0.3.96
v0.3.97
v0.3.99
v0.4.0
v0.5.0
v0.5.1
v0.5.10
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.10
v0.6.11
v0.6.12
v0.6.13
v0.6.14
v0.6.15
v0.6.16
v0.6.17
v0.6.18
v0.6.19
v0.6.2
v0.6.20
v0.6.21
v0.6.22
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.8
v0.6.9
v0.7.0
v0.8.0
v0.9.0
v0.9.1
v0.9.2
v0.9.3