{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-34112",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-05-25T21:56:51.247Z",
        "datePublished": "2023-06-08T23:05:36.423Z",
        "dateUpdated": "2024-08-02T16:01:53.221Z"
    },
    "containers": {
        "cna": {
            "title": "JavaCPP project actions vulnerable to code injection  ",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-94",
                            "lang": "en",
                            "description": "CWE-94: Improper Control of Generation of Code ('Code Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x"
                },
                {
                    "name": "https://securitylab.github.com/research/github-actions-untrusted-input/",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://securitylab.github.com/research/github-actions-untrusted-input/"
                }
            ],
            "affected": [
                {
                    "vendor": "bytedeco",
                    "product": "javacpp-presets",
                    "versions": [
                        {
                            "version": "< 1.5.9",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-06-08T23:05:36.423Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-36rx-hq22-jm5x",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T16:01:53.221Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/bytedeco/javacpp-presets/security/advisories/GHSA-36rx-hq22-jm5x"
                    },
                    {
                        "name": "https://securitylab.github.com/research/github-actions-untrusted-input/",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://securitylab.github.com/research/github-actions-untrusted-input/"
                    }
                ]
            }
        ]
    }
}