{"id":"CVE-2023-34112","state":"PUBLISHED","title":"JavaCPP project actions vulnerable to code 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.","publishedAt":"2023-06-08T23:05:36.423Z","updatedAt":"2025-01-06T19:43:42.532Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["bytedeco javacpp-presets"],"affected":[{"vendor":"bytedeco","product":"javacpp-presets","versions":[{"version":"< 1.5.9","status":"affected"}]}],"references":["https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x","https://securitylab.github.com/research/github-actions-untrusted-input/"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/34xxx/CVE-2023-34112.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-34112","state":"PUBLISHED","datePublished":"2023-06-08T23:05:36.423Z","dateUpdated":"2025-01-06T19:43:42.532Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-05-25T21:56:51.247Z"},"containers":{"cna":{"title":"JavaCPP project actions vulnerable to code injection  ","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"bytedeco","product":"javacpp-presets","versions":[{"version":"< 1.5.9","status":"affected"}]}],"references":[{"url":"https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x","name":"https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x","tags":["x_refsource_CONFIRM"]},{"url":"https://securitylab.github.com/research/github-actions-untrusted-input/","name":"https://securitylab.github.com/research/github-actions-untrusted-input/","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-06-08T23:05:36.423Z"},"source":{"advisory":"GHSA-36rx-hq22-jm5x","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x","name":"https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://securitylab.github.com/research/github-actions-untrusted-input/","name":"https://securitylab.github.com/research/github-actions-untrusted-input/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T16:01:53.221Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-06T19:43:33.838979Z","id":"CVE-2023-34112","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-06T19:43:42.532Z"}}]}}}