CVE-2024-41127: GHSL-2024-167: Poisoned Pipeline Execution through Code Injection in Monkeytype - CVE-2024-41127

Published Aug 1, 2024
·
Updated

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 ./prnum/prnum.txt artifact to the steps.prnumreader.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.

Affected Software

1 affected component
Monkeytype Monkeytype<24.30.0

Event History

Aug 1, 2024
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
Aug 2, 2024
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41127?

CVE-2024-41127 has been assessed as a high severity vulnerability due to the potential for code injection and unauthorized access.

2

How do I fix CVE-2024-41127?

To mitigate CVE-2024-41127, update to a version of Monkeytype that is 24.30.0 or later where the vulnerability has been patched.

3

What type of vulnerability is CVE-2024-41127?

CVE-2024-41127 is a Code Injection vulnerability that allows for Poisoned Pipeline Execution.

4

Can CVE-2024-41127 be exploited remotely?

Yes, CVE-2024-41127 can be exploited remotely by attackers through malicious pull requests.

5

Which versions of Monkeytype are affected by CVE-2024-41127?

Monkeytype versions prior to 24.30.0 are affected by CVE-2024-41127.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203