Remote code execution via unrestricted TypedArray constructors
Published Dec 15, 2022 · Updated Apr 21, 2025
Deserialization in inikulin replicator before 1.0.4 allows remote attackers to execute arbitrary code through crafted TypedArray data. The TypedArray fromSerializable function reads an attacker-controlled ctorName, resolves it on the global object, and invokes it with attacker-controlled arr data. Any application that passes untrusted serialized input to decode exposes the privileges and data of its hosting Node.js process.
Summary
What happened
Deserialization in inikulin replicator before 1.0.4 allows remote attackers to execute arbitrary code through crafted TypedArray data. The TypedArray fromSerializable function reads an attacker-controlled ctorName, resolves it on the global object, and invokes it with attacker-controlled arr data. Any application that passes untrusted serialized input to decode exposes the privileges and data of its hosting Node.js process.
The record
- CVE
- CVE-2021-33420
- Published
- Dec 15, 2022
- Updated
- Apr 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-502
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 15, 2022CVE publishedPublication date reported by the CVE source.
- Apr 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- TypedArray deserialization proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo