DEBIAN-CVE-2026-33228

Source
https://security-tracker.debian.org/tracker/CVE-2026-33228
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33228.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-33228
Upstream
Published
2026-03-20T23:16:46.510Z
Modified
2026-03-24T10:01:32.597165Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / node-flatted

Package

Name
node-flatted
Purl
pkg:deb/debian/node-flatted?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.2~dfsg-1
2.0.2~dfsg-2
2.0.2~dfsg-3
2.0.2~dfsg-4
3.*
3.2.2~ds-1
3.2.2~ds-2
3.2.2~ds-3
3.2.4~ds-1
3.2.5~ds-1
3.2.6~ds-1
3.2.6~ds-2
3.2.7~ds-1
3.4.1~ds-1
3.4.2~ds-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33228.json"

Debian:12 / node-flatted

Package

Name
node-flatted
Purl
pkg:deb/debian/node-flatted?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.2.7~ds-1
3.4.1~ds-1
3.4.2~ds-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33228.json"

Debian:13 / node-flatted

Package

Name
node-flatted
Purl
pkg:deb/debian/node-flatted?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.2.7~ds-1
3.4.1~ds-1
3.4.2~ds-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33228.json"

Debian:14 / node-flatted

Package

Name
node-flatted
Purl
pkg:deb/debian/node-flatted?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.2.7~ds-1
3.4.1~ds-1
3.4.2~ds-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33228.json"