{"id":"CVE-2023-50268","state":"PUBLISHED","title":"jq has stack-based buffer overflow in decNaNs","description":"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.","publishedAt":"2023-12-13T20:49:54.982Z","updatedAt":"2025-02-13T17:19:02.376Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["jqlang jq"],"affected":[{"vendor":"jqlang","product":"jq","versions":[{"version":"= 1.7","status":"affected"}]}],"references":["https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j","https://github.com/jqlang/jq/pull/2804","https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771","http://www.openwall.com/lists/oss-security/2023/12/15/10"],"weaknesses":["CWE-121","CWE-120"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/50xxx/CVE-2023-50268.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-50268","state":"PUBLISHED","datePublished":"2023-12-13T20:49:54.982Z","dateUpdated":"2025-02-13T17:19:02.376Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-12-05T20:42:59.380Z"},"containers":{"cna":{"title":"jq has stack-based buffer overflow in decNaNs","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."}],"affected":[{"vendor":"jqlang","product":"jq","versions":[{"version":"= 1.7","status":"affected"}]}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j","name":"https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jqlang/jq/pull/2804","name":"https://github.com/jqlang/jq/pull/2804","tags":["x_refsource_MISC"]},{"url":"https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","name":"https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","tags":["x_refsource_MISC"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/15/10"}],"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"}}],"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"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-12-16T00:06:21.466Z"},"source":{"advisory":"GHSA-7hmr-442f-qc8j","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j","name":"https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/jqlang/jq/pull/2804","name":"https://github.com/jqlang/jq/pull/2804","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","name":"https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/15/10","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T22:16:46.221Z"}}]}}}