Advisory

UBUNTU-CVE-2024-53427

Also known as: CVE-2024-53427

Summary

The record has no summary.

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).

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2025-02-26 16:15 UTC
Modified
2026-04-22 15:21 UTC

Affected packages and fixes

jq

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.7.1-3ubuntu0.24.04.1 (ecosystem)

Fixed versions

1.7.1-3ubuntu0.24.04.1

Fix

  • Fixed version 1.7.1-3ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences