{"id":"CVE-2023-50246","state":"PUBLISHED","title":"jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c","description":"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.","publishedAt":"2023-12-13T20:43:50.862Z","updatedAt":"2025-02-13T17:19:01.170Z","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-686w-5m7m-54vc","https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64574","http://www.openwall.com/lists/oss-security/2023/12/15/10"],"weaknesses":["CWE-122","CWE-120"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/50xxx/CVE-2023-50246.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-50246","state":"PUBLISHED","datePublished":"2023-12-13T20:43:50.862Z","dateUpdated":"2025-02-13T17:19:01.170Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-12-05T20:42:59.377Z"},"containers":{"cna":{"title":"jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"jqlang","product":"jq","versions":[{"version":"= 1.7","status":"affected"}]}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc","name":"https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","name":"https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","tags":["x_refsource_MISC"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64574","name":"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"}],"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-122","lang":"en","description":"CWE-122: Heap-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:23.208Z"},"source":{"advisory":"GHSA-686w-5m7m-54vc","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc","name":"https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","name":"https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64574","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64574","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:09:49.866Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-27T15:50:50.561654Z","id":"CVE-2023-50246","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-27T15:51:09.653Z"}}]}}}