SecurityContext

CVE-2023-34112: JavaCPP Presets - Command Injection

  • Cve: CVE-2023-34112
  • Name: JavaCPP Presets - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
  • Remediation: Upgrade to version 1.5.9 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0195
  • Epss percentile: 0.8078
  • Assignee: [email protected]
  • Published at: 2023-06-09T00:15:10Z
  • Age in days: 1264
  • Modified at: 2026-06-17T06:02:55Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-34112
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://securitylab.github.com/research/github-actions-untrusted-input/nvd2023-06-09

References

UrlSourceTags
https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5xnvdVendor Advisory
https://securitylab.github.com/research/github-actions-untrusted-input/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
bytedeco:javacpp_presets< 1.5.9nonvd/v1/products/bytedeco/javacpp_presets

Projects

RepositoryLink kindsIndexedUrl
bytedeco/javacpp-presetssecurity_advisoryyes/v1/repositories/bytedeco/javacpp-presets

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-06-09
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts