CVE-2023-50268
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 6.2 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-120 · Classic buffer overflow
- Record status
- Modified
Affected
- Jqlang Jq 1.7
Attack profile CVSS 3.1 · 6.2
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-50268.md and follow it. Check whether this project is affected by CVE-2023-50268. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.openwall.com/lists/oss-security/2023/12/15/10
- https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b
- https://github.com/jqlang/jq/pull/2804
- https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j
- http://www.openwall.com/lists/oss-security/2023/12/15/10
- https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b
- https://github.com/jqlang/jq/pull/2804
- https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j
References
- http://www.openwall.com/lists/oss-security/2023/12/15/10
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771
- https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b
- https://github.com/jqlang/jq/pull/2804
- https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j
- http://www.openwall.com/lists/oss-security/2023/12/15/10
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771
- https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b
- https://github.com/jqlang/jq/pull/2804
- https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j