CVE-2021-4279 Starcounter-Jack JSON-Patch prototype pollution
Remote attackers can exploit prototype pollution in the JSON-Patch library to potentially execute code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-4279?
CVE-2021-4279 is a medium-severity vulnerability in Starcounter-Jack JSON-Patch, published on 25 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in Starcounter-Jack JSON-Patch up to 3.1.0 and classified as problematic. This vulnerability affects unknown code. The manipulation leads to improperly controlled modification of object prototype attributes ('prototype pollution'). The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 3.1.1 is able to address this issue. The name of the patch is 7ad6af41eabb2d799f698740a91284d762c955c9. It is recommended to upgrade the affected component. VDB-216778 is the identifier assigned to this vulnerability.
Weakness: CWE-1321
Which versions are affected by CVE-2021-4279?
2 open source packages ship an affected version, including fast-json-patch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fast-json-patch npm | All versions | 3.1.1 |
fast-json-patch npm | All versions | 3.1.1 |
Products include Starcounter-Jack Json-Patch.
How do I fix CVE-2021-4279?
Upgrade fast-json-patch to 3.1.1 or later.
Is CVE-2021-4279 being exploited?
There is no known exploitation of CVE-2021-4279 in the wild and no public exploit code.
Sources
Also known as GHSA-8gh8-hqwg-xf34.