{"id":"CVE-2023-50246","published":"2023-12-13T20:43:50Z","modified":"2025-02-13T17:19:01Z","title":"jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c","vendor":"jqlang","product":"jq","tier":"tail","description":{"text":"jq is a command-line JSON processor. Version 1.7 is vulnerable to heap-based buffer overflow. 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.00512,"percentile":0.44562,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","tags":["x_refsource_MISC"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64574","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/15/10","tags":[]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.91},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"jqlang","affectedVersions":[{"vendor":"jqlang","product":"jq","versions":["= 1.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-27T15:50:50.561654Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-55064","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jqlang-jq-cve-2023-50246","children":[{"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"}]},{"from":"CVE-2023-50246","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/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","https://github.com/jqlang/jq/commit/de21386681c0df0104a99d9d09db23a9b2a78b1e"],"basis":"rarely changed file"}]}]}}