CVE-2021-33420 replicator vulnerable to Deserialization of Untrusted Data

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code by exploiting a deserialization vulnerability in the replicator library's fromSerializable function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-33420?

CVE-2021-33420 is a critical unsafe deserialization vulnerability in n/a, published on 15 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A deserialization issue discovered in inikulin replicator before 1.0.4 allows remote attackers to run arbitrary code via the fromSerializable function in TypedArray object.

Weakness: CWE-502

Which versions are affected by CVE-2021-33420?

2 open source packages ship an affected version, including replicator. It affects 1 product.

PackageAffectedFixed in
replicator npmAll versions1.0.4
replicator npmAll versions1.0.4

Products include Replicator Project Replicator.

How do I fix CVE-2021-33420?

Upgrade replicator to 1.0.4 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2021-33420 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33420 exists.

Sources

Also known as GHSA-hw46-vg6w-88fj.

Is CVE-2021-33420 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free