{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-21623",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-12-29T03:00:44.953Z",
        "datePublished": "2024-01-02T20:29:14.163Z",
        "dateUpdated": "2024-08-01T22:27:35.824Z"
    },
    "containers": {
        "cna": {
            "title": "Arbitrary Expression Injection in github workflow leads to Command execution & leaking secrets",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-74",
                            "lang": "en",
                            "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589"
                },
                {
                    "name": "https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254"
                },
                {
                    "name": "https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104"
                },
                {
                    "name": "https://securitylab.github.com/research/github-actions-preventing-pwn-requests/",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://securitylab.github.com/research/github-actions-preventing-pwn-requests/"
                },
                {
                    "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": "mehah",
                    "product": "otclient",
                    "versions": [
                        {
                            "version": "< db560de0b56476c87a2f967466407939196dd254",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-01-02T20:29:14.163Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OTCLient is an alternative tibia client for otserv. Prior to commit db560de0b56476c87a2f967466407939196dd254, the /mehah/otclient \"`Analysis - SonarCloud`\" workflow is vulnerable to an expression injection in Actions, allowing an attacker to run commands remotely on the runner, leak secrets, and alter the repository using this workflow. Commit db560de0b56476c87a2f967466407939196dd254 contains a fix for this issue."
                }
            ],
            "source": {
                "advisory": "GHSA-q6gr-wc79-v589",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T22:27:35.824Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/mehah/otclient/security/advisories/GHSA-q6gr-wc79-v589"
                    },
                    {
                        "name": "https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/mehah/otclient/commit/db560de0b56476c87a2f967466407939196dd254"
                    },
                    {
                        "name": "https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/mehah/otclient/blob/72744edc3b9913b920e0fd12e929604f682fda75/.github/workflows/analysis-sonarcloud.yml#L91-L104"
                    },
                    {
                        "name": "https://securitylab.github.com/research/github-actions-preventing-pwn-requests/",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://securitylab.github.com/research/github-actions-preventing-pwn-requests/"
                    },
                    {
                        "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/"
                    }
                ]
            }
        ]
    }
}