UBUNTU-CVE-2024-53427

Source
https://ubuntu.com/security/CVE-2024-53427
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53427.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-53427
Upstream
Downstream
Related
Published
2025-02-26T16:15:00Z
Modified
2025-07-21T17:05:17Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).

References

Affected packages

Ubuntu:24.04:LTS / jq

Package

Name
jq
Purl
pkg:deb/ubuntu/jq@1.7.1-3ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.1-3ubuntu0.24.04.1

Affected versions

1.*

1.6-3
1.7-1
1.7.1-2
1.7.1-3
1.7.1-3build1

Ecosystem specific

{
    "availability": "No subscription required",
    "priority_reason": "Only a DoS in a command line tool",
    "binaries": [
        {
            "binary_version": "1.7.1-3ubuntu0.24.04.1",
            "binary_name": "jq"
        },
        {
            "binary_version": "1.7.1-3ubuntu0.24.04.1",
            "binary_name": "jq-dbgsym"
        },
        {
            "binary_version": "1.7.1-3ubuntu0.24.04.1",
            "binary_name": "libjq-dev"
        },
        {
            "binary_version": "1.7.1-3ubuntu0.24.04.1",
            "binary_name": "libjq1"
        },
        {
            "binary_version": "1.7.1-3ubuntu0.24.04.1",
            "binary_name": "libjq1-dbgsym"
        }
    ]
}

Ubuntu:25.04 / jq

Package

Name
jq
Purl
pkg:deb/ubuntu/jq@1.7.1-3ubuntu1.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.1-3ubuntu1.1

Affected versions

1.*

1.7.1-3build1
1.7.1-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "priority_reason": "Only a DoS in a command line tool",
    "binaries": [
        {
            "binary_version": "1.7.1-3ubuntu1.1",
            "binary_name": "jq"
        },
        {
            "binary_version": "1.7.1-3ubuntu1.1",
            "binary_name": "jq-dbgsym"
        },
        {
            "binary_version": "1.7.1-3ubuntu1.1",
            "binary_name": "libjq-dev"
        },
        {
            "binary_version": "1.7.1-3ubuntu1.1",
            "binary_name": "libjq1"
        },
        {
            "binary_version": "1.7.1-3ubuntu1.1",
            "binary_name": "libjq1-dbgsym"
        }
    ]
}