What’s Vulnerable › Vulnerabilities
CVE-2024-21623: Arbitrary Expression Injection in github workflow leads to Command execution & leaking secrets
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-01-02 · updated 2026-06-17
- Weakness: CWE-74
Description
OTCLient is an alternative tibia client for otserv. Prior to commit db560de0b56476c87a2f967466407939196dd254, the /mehah/otclient "`Analysis - SonarCloud`" workflow is vulnerable to an expression injection in Actions, allowing an attacker to run commands remotely on the runner, leak secrets, and alter the repository using this workflow. Commit db560de0b56476c87a2f967466407939196dd254 contains a fix for this issue.
Affected products
- mehah otclient: before 2023-12-30 — fixed in 2023-12-30
How to fix
Upgrade to a fixed version: mehah otclient 2023-12-30. Check the vendor advisory for mitigations.
References
- https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104
- https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254
- https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589
- https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
- https://securitylab.github.com/research/github-actions-untrusted-input/
- https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104
- https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254
- https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589
- https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
- https://securitylab.github.com/research/github-actions-untrusted-input/
Get alerted when CVE-2024-21623 or the next vulnerability affects your stack