
Cloud Vulnerability DB
A community-led vulnerabilities database
This affects all versions of package iniparserjs. The vulnerability (CVE-2021-23328) was discovered and disclosed on January 29, 2021. The vulnerability relates to when ini_parser.js is concentrating arrays, affecting the package's ability to properly handle user input (AttackerKB, Snyk).
The vulnerability is classified as a Prototype Pollution issue (CWE-1321). When ini_parser.js is concentrating arrays and user input is provided, an attacker can overwrite and pollute the object prototype of a program. The vulnerability received a CVSS v3.1 score of 5.6 (medium severity) (Snyk).
The vulnerability can lead to several types of attacks: Denial of Service (DoS) through manipulation of Object.prototype functions, potential Remote Code Execution if the codebase evaluates and executes specific object attributes, and Property Injection where attackers can pollute security-critical properties. The impact affects various environments including application servers, web servers, and web browsers (Snyk).
The vulnerability has a proof-of-concept exploit available. The exploit involves creating a malicious ini file with a [proto] section containing polluted properties that can affect the object prototype of the application (Snyk).
Since there is no fixed version available for iniparserjs, the following mitigations are recommended: freeze the prototype using Object.freeze(Object.prototype), implement schema validation for JSON input, avoid using unsafe recursive merge functions, consider using objects without prototypes (Object.create(null)), and as a best practice, use Map instead of Object (Snyk).
The package has been deprecated with the message 'Package no longer supported' (NPM). The vulnerability was credited to Sam Sanoop of the Snyk Security Team (Snyk).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."