High, CVSS 7.3npmAmendedPublished
ini before 1.3.6 vulnerable to Prototype Pollution via ini.parse
CVE-2020-7788 · GHSA-qqgx-2p2h-9c37
- Affected
- npm ini < 1.3.6
- Fixed in
- 1.3.6· Vendor fix available
- Issue
- The ini npm package before version 1.3.6 has a Prototype Pollution vulnerability. If an attacker submits a malicious INI file to an application that parses it with ini.parse, they will pollute the prototype on the application. This can be exploited further depending on the context. Patches This has been patched in 1.3.6. Steps to reproduce payload.ini poc.js:
Recommended action: Upgrade to 1.3.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.