Prototype pollution in INI for Node.js



Published: 2020-12-11 | Updated: 2022-09-05
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-7788
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ini
Web applications / JS libraries

Vendor Node.js Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU66955

Risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-7788

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper input validation when handling INI files. A remote attacker can pass a specially crafted INI file to the application and perform prototype pollution attacks.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

ini: 1.0.0 - 1.3.5

External links

http://snyk.io/vuln/SNYK-JS-INI-1048974
http://github.com/npm/ini/commit/56d2805e07ccd94e2ba0984ac9240ff02d44b6f1
http://github.com/advisories/GHSA-qqgx-2p2h-9c37


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###