CVE-2023-50246: jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c
Published Dec 13, 2023
·Updated
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 Software
8 affected componentsFixes available
jqlang jq=1.7
jqlang jq=1.7-rc1
jqlang jq=1.7-rc2
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
alpine/jq<1.7.1-r0
1.7.1-r0
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
jqto a version that resolves this vulnerability.Fixed in 1.7.1
Event History
Dec 13, 2023
CVE Published
via MITRE·08:43 PM
Data Sourced
08:43 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Dec 19, 2023
Data Sourced
01:30 AM
RemedyAffected Software
Updated
01:30 AM
SeverityWeakness
Aug 2, 2024
Data Sourced
via MITRE·10:09 PM
DescriptionSeverityWeakness
Apr 25, 2025
Data Sourced
via NVD·06:54 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:54 PM
RemedyAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2023-50246?
CVE-2023-50246 is classified as a high severity vulnerability due to the potential for a heap-based buffer overflow.
2
How do I fix CVE-2023-50246?
To fix CVE-2023-50246, upgrade jq to version 1.7.1 or later, which contains a patch for the vulnerability.
3
Which versions of jq are affected by CVE-2023-50246?
CVE-2023-50246 affects version 1.7 of jq.
4
What type of vulnerability is CVE-2023-50246?
CVE-2023-50246 is a heap-based buffer overflow vulnerability.
5
Is there a patch available for CVE-2023-50246?
Yes, a patch for CVE-2023-50246 is available in jq version 1.7.1.