CVE-2023-50268: jq has stack-based buffer overflow in decNaNs
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/jqto a version that resolves this vulnerability.Fixed in 1.7.1-r0 - Upgrade
Upgrade
ubuntu/jqto a version that resolves this vulnerability.Fixed in 1.7.1-2 - Upgrade
Upgrade
jqto a version that resolves this vulnerability.Fixed in 1.7.1
Event History
Frequently Asked Questions
What is the severity of CVE-2023-50268?
CVE-2023-50268 is classified as a high severity vulnerability due to the potential for stack-based buffer overflow.
How do I fix CVE-2023-50268?
To fix CVE-2023-50268, upgrade jq from version 1.7 to version 1.7.1 or later, which contains the necessary patch.
What software is affected by CVE-2023-50268?
CVE-2023-50268 affects jq version 1.7 that is built with decNumber support.
What type of vulnerability is CVE-2023-50268?
CVE-2023-50268 is a stack-based buffer overflow vulnerability.
Is there a public disclosure for CVE-2023-50268?
Yes, CVE-2023-50268 has been publicly disclosed in security mailing lists and issue trackers.