Advisory

DEBIAN-CVE-2026-33228

Also known as: CVE-2026-33228

Summary

The record has no summary.

Details

flatted is a circular JSON parser. Prior to version 3.4.2, the parse() function in flatted can use attacker-controlled string values from the parsed JSON as direct array index keys, without validating that they are numeric. Since the internal input buffer is a JavaScript Array, accessing it with the key "__proto__" returns Array.prototype via the inherited getter. This object is then treated as a legitimate parsed value and assigned as a property of the output object, effectively leaking a live reference to Array.prototype to the consumer. Any code that subsequently writes to that property will pollute the global prototype. This issue has been patched in version 3.4.2.

Severity

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

Dates

Published
2026-03-20 23:16 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

node-flatted

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-flatted

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.2.7~ds-1+deb13u1 (ecosystem)

Fixed versions

3.2.7~ds-1+deb13u1

Fix

  • Fixed version 3.2.7~ds-1+deb13u1
    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.

node-flatted

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.4.2~ds-1 (ecosystem)

Fixed versions

3.4.2~ds-1

Fix

  • Fixed version 3.4.2~ds-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences