CVE-2023-34112 JavaCPP project actions vulnerable to code injection
Attackers can execute arbitrary code via malicious commit messages in JavaCPP Presets GitHub Actions due to insecure string interpolation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-34112?
CVE-2023-34112 is a medium-severity code injection vulnerability in bytedeco javacpp-presets, published on 8 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
JavaCPP Presets is a project providing Java distributions of native C++ libraries. All the actions in the `bytedeco/javacpp-presets` use the `github.event.head_commit.message` parameter in an insecure way. For example, the commit message is used in a run statement - resulting in a command injection vulnerability due to string interpolation. No exploitation has been reported. This issue has been addressed in version 1.5.9. Users of JavaCPP Presets are advised to upgrade as a precaution.
Weakness: CWE-94
Which versions are affected by CVE-2023-34112?
It affects 1 product.
Products include Bytedeco Javacpp Presets.
How do I fix CVE-2023-34112?
No fix has been published for CVE-2023-34112 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-2023-34112 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34112 exists.
Sources
Also known as GHSA-36rx-hq22-jm5x.