{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-50268",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-12-05T20:42:59.380Z",
        "datePublished": "2023-12-13T20:49:54.982Z",
        "dateUpdated": "2024-08-02T22:16:46.221Z"
    },
    "containers": {
        "cna": {
            "title": "jq has stack-based buffer overflow in decNaNs",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-121",
                            "lang": "en",
                            "description": "CWE-121: Stack-based Buffer Overflow",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-120",
                            "lang": "en",
                            "description": "CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.2,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j"
                },
                {
                    "name": "https://github.com/jqlang/jq/pull/2804",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/jqlang/jq/pull/2804"
                },
                {
                    "name": "https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b"
                },
                {
                    "name": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771"
                },
                {
                    "url": "http://www.openwall.com/lists/oss-security/2023/12/15/10"
                }
            ],
            "affected": [
                {
                    "vendor": "jqlang",
                    "product": "jq",
                    "versions": [
                        {
                            "version": "= 1.7",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-12-13T20:49:54.982Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue."
                }
            ],
            "source": {
                "advisory": "GHSA-7hmr-442f-qc8j",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T22:16:46.221Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j"
                    },
                    {
                        "name": "https://github.com/jqlang/jq/pull/2804",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/jqlang/jq/pull/2804"
                    },
                    {
                        "name": "https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b"
                    },
                    {
                        "name": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771"
                    },
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2023/12/15/10",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}