NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-41127
Summary

Monkeytype is a minimalistic and customizable typing test. Monkeytype is vulnerable to Poisoned Pipeline Execution through Code Injection in its ci-failure-comment.yml GitHub Workflow, enabling attackers to gain pull-requests write access. The ci-failure-comment.yml workflow is triggered when the Monkey CI workflow completes. When it runs, it will download an artifact uploaded by the triggering workflow and assign the contents of ./pr_num/pr_num.txt artifact to the steps.pr_num_reader.outputs.content WorkFlow variable. It is not validated that the variable is actually a number and later it is interpolated into a JS script allowing an attacker to change the code to be executed. This issue leads to pull-requests write access. This vulnerability is fixed in 24.30.0.

Publication Date Aug. 3, 2024, 12:16 a.m.
Registration Date Aug. 3, 2024, 10 a.m.
Last Update Sept. 11, 2024, 11:52 p.m.
CVSS3.1 : CRITICAL
スコア 9.6
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:monkeytype:monkeytype:*:*:*:*:*:*:*:* 24.30.0
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
monkeytype におけるコードインジェクションの脆弱性
Title monkeytype におけるコードインジェクションの脆弱性
Summary

monkeytype には、コードインジェクションの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Aug. 2, 2024, midnight
Registration Date Sept. 12, 2024, 10:14 a.m.
Last Update Sept. 12, 2024, 10:14 a.m.
Affected System
monkeytype
monkeytype 24.30.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年09月12日]
  掲載
Sept. 12, 2024, 10:14 a.m.