cve/2023/CVE-2023-34112.md

18 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-34112](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-34112)
![](https://img.shields.io/static/v1?label=Product&message=javacpp-presets&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.5.9%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%3A%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brighgreen)
### 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.
### POC
#### Reference
- https://securitylab.github.com/research/github-actions-untrusted-input/
#### Github
No PoCs found on GitHub currently.