目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2021-21423— Github projen 安全漏洞

一分钟漏洞结论

影响对象
projen projen
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Github projen是Github开源的一个应用软件。综合类项目配置文件。 projen 存在安全漏洞,该漏洞源于允许任何GitHub用户在“main”存储库的上下文中触发执行不受信任的代码。

CVSS 6.8 · Medium EPSS 1.38% · P71
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2021-21423 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Exposure of Version-Control Repository to an Unauthorized Control Sphere in projen
来源: CVE Program / CVE List V5
Vulnerability Description
`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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
将CVS仓库暴露给非授权控制范围
来源: CVE Program / CVE List V5
Vulnerability Title
Github projen 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Github projen是Github开源的一个应用软件。综合类项目配置文件。 projen 存在安全漏洞,该漏洞源于允许任何GitHub用户在“main”存储库的上下文中触发执行不受信任的代码。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
projen projen >= 0.6.0, < 0.16.41 -

二、漏洞 CVE-2021-21423 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2021-21423 的情报信息

请登录查看更多情报信息。

CVE-2021-21423 补丁与修复 (1)

CVE-2021-21423 厂商安全公告 (1)

CVE-2021-21423 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-21423

暂无评论


发表评论