CVE-2024-21623 Arbitrary Expression Injection in github workflow leads to Command execution & leaking secrets
Attackers can inject expressions in GitHub Actions to execute commands, leak secrets, and modify the repository.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-21623?
CVE-2024-21623 is a critical code injection vulnerability in mehah otclient, published on 2 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-74
Which versions are affected by CVE-2024-21623?
It affects 1 product.
Products include Mehah Otclient.
How do I fix CVE-2024-21623?
No fix has been published for CVE-2024-21623 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-21623 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21623 exists.
Sources
Also known as GHSA-q6gr-wc79-v589.