CVE-2021-25943
Description
Prototype pollution in '101' library versions 1.0.0 to 1.6.3 can cause denial of service and potentially remote code execution.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Prototype pollution in '101' library versions 1.0.0 to 1.6.3 can cause denial of service and potentially remote code execution.
Vulnerability
A prototype pollution vulnerability exists in the 101 JavaScript utility library, affecting versions 1.0.0 through 1.6.3 [1]. The flaw resides in the set function, which does not properly restrict modifications to the object prototype [3]. This allows an attacker to inject properties into Object.prototype via crafted input, leading to unexpected behavior in applications using the library [4].
Exploitation
An attacker can exploit this by providing a specially crafted object (e.g., with __proto__ or constructor.prototype keys) to the set function. No special network position or authentication is required; the vulnerability is triggered when user-controllable input is passed to the vulnerable function [4]. The attack can be performed remotely via any application that processes untrusted data using the affected 101 library.
Impact
Successful exploitation allows the attacker to pollute the global Object.prototype, potentially leading to denial of service by overriding critical properties, and may enable remote code execution if combined with other vulnerabilities [4]. The scope of compromise depends on how the library is used within the application.
Mitigation
As of the publication date, no patched version of 101 has been released. Users are advised to upgrade to a later version if available, or to avoid using the set function with untrusted input. The vendor has not yet disclosed a fixed version [4].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
101npm | >= 1.0.0, <= 1.6.3 | — |
Affected products
2- 101/101description
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-cwcx-rxgc-cmw3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-25943ghsaADVISORY
- github.com/tjmehta/101/blob/d87f63ce2a4cbdc476e8287abd78327c3144d646/set.jsghsax_refsource_MISCWEB
- www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25943ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.