{"id":"CVE-2023-50268","published":"2023-12-13T20:49:54Z","modified":"2025-02-13T17:19:02Z","title":"jq has stack-based buffer overflow in decNaNs","vendor":"jqlang","product":"jq","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00391,"percentile":0.24926,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jqlang/jq/pull/2804","tags":["x_refsource_MISC"]},{"url":"https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","tags":["x_refsource_MISC"]},{"url":"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","tags":[]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":4.99},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"jqlang","affectedVersions":[{"vendor":"jqlang","product":"jq","versions":["= 1.7"]}],"euvd":{"id":"EUVD-2023-55080","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jqlang-jq-cve-2023-50246","parents":[{"from":"CVE-2023-50246","to":"CVE-2023-50268","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/jv.c"],"commits":["https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2023-50268","to":"CVE-2024-23337","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/jv.c"],"commits":["https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b","https://github.com/jqlang/jq/commit/de21386681c0df0104a99d9d09db23a9b2a78b1e"],"basis":"rarely changed file"}]}]}}