CVE-2023-34112: JavaCPP project actions vulnerable to code injection

Published Jun 8, 2023
·
Updated

JavaCPP Presets is a project providing Java distributions of native C++ libraries. All the actions in the bytedeco/javacpp-presets use the github.event.headcommit.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.

Other sources

JavaCPP Presets is a project providing Java distributions of native C++ libraries. All the actions in the bytedeco/javacpp-presets use the github.event.headcommit.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.

— MITRE

Affected Software

1 affected component
bytedeco JavaCPP Presets<1.5.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bytedeco/javacpp-presets to a version that resolves this vulnerability.

    Fixed in 1.5.9

Event History

Jun 8, 2023
CVE Published
via MITRE·11:05 PM
Data Sourced
via MITRE·11:05 PM
DescriptionSeverityWeakness
Jun 9, 2023
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-34112?

CVE-2023-34112 is a vulnerability in JavaCPP Presets that allows for command injection.

2

How does the vulnerability in JavaCPP Presets occur?

The vulnerability occurs because the `github.event.head_commit.message` parameter is used in an insecure way, allowing for command injection.

3

What is the severity of CVE-2023-34112?

The severity of CVE-2023-34112 is high, with a CVSS score of 8.8.

4

What is the affected software?

The affected software is Bytedeco Javacpp Presets up to version 1.5.9.

5

How can I fix CVE-2023-34112?

To fix CVE-2023-34112, you should update to a version of Bytedeco Javacpp Presets that is higher than 1.5.9.

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