cve.bz

CVE-2020-7788 Prototype Pollution

9.8 criticalExploit referenceEPSS 3.7%Fix available

Critical (9.8). EPSS 3.7% estimated probability of exploitation activity in the next 30 days. Fixed in ini 1.3.6.

On this page
This affects the package ini before 1.3.6. 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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-7788 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-7788?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-7788?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-7788 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ini_project:inibefore 1.3.6
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qqgx-2p2h-9c37npmini<1.3.61.3.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9node-ini1.1.0-1+deb9u1DLA-2503-1
Debian12, 13, 14node-ini2.0.0-1DEBIAN-CVE-2020-7788
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 6 morenode-inino fix listedUBUNTU-CVE-2020-7788
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.20.1-1.module+el8.3.0+9503+19cb079cRHSA-2021:0549
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.15.4-2.module+el8.3.0+9635+ffdf8381RHSA-2021:0551
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.18.2-2.module+el8.5.0+13644+8d46dafdRHSA-2022:0350
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:16.13.1-3.module+el8.5.0+13548+45d748afRHSA-2021:5171
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:1.18.3-1.module+el8+2632+6c5111edRHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.15-1.module+el8.5.0+13504+a2e74d91RHSA-2022:0350
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.15-1.module+el8.5.0+13548+45d748afRHSA-2021:5171
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.3.0+6519+9f98ed83RHSA-2021:0551
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.3.0+9715+1718613fRHSA-2021:0549
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8+2873+aa7dfd9aRHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2021:0549
27 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.18.2-2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.18.2-2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.13.1-3.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.13.1-3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2021:0548
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2021:0548
AlmaLinux8nodejs-nodemon2.0.15-1.module_el8.5.0+2605+45d748afALSA-2021:5171 ALSA-2022:0350
AlmaLinux8nodejs-nodemon2.0.15-1.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux8nodejs-nodemon2.0.15-1.module_el8.6.0+2904+f21ad6f4ALSA-2021:5171 ALSA-2022:0350
AlmaLinux8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:0549 ALSA-2021:0551
AlmaLinux8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:0548 ALSA-2021:0549
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2021:0548 ALSA-2021:0549
13 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:14.18.2-2.module+el8.5.0+733+de4fee6cRLSA-2022:0350
Rocky Linux8nodejs1:16.13.1-3.module+el8.5.0+721+4c107270RLSA-2021:5171
Rocky Linux8nodejs-nodemon0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2021:0548
Rocky Linux8nodejs-nodemon0:2.0.15-1.module+el8.5.0+721+4c107270RLSA-2021:5171 RLSA-2022:0350
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:0549 RLSA-2021:0551
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:0549 RLSA-2021:0551
Rocky Linux8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:0549 RLSA-2021:0551
Rocky Linux8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:0548 RLSA-2021:0549
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2021:0551 RLSA-2022:0350
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2021:0551 RLSA-2022:0350
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2021:0551 RLSA-2022:0350
Rocky Linux8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2021:5171
2 more for Rocky Linux in the JSON.
Azure Linux3js-jqueryno fix listedAZL-44679
Azure Linux3nodejs-nodemonno fix listedAZL-45153

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Node.JS packages in Red Hat Enterprise Linux and Red Hat Software Collections included the vulnerable dependency packaged in "nodejs-npm" component. Processing malicious files using npm could potentially trigger this vulnerability. The "ini" package bundled with npm was not in the library path where it could be included directly in other programs.

The nodejs-nodemon packages in Red Hat Enterprise Linux and Red Hat Software Collections are affected by this vulnerability as they bundle the nodejs-ini library. Usage of that library is governed by nodemon itself, so applications started by nodemon are not impacted. Further, nodemon is a developer tool not intended to be used in production.

The ini package is included in Red Hat Quay by protractor and webpack-cli, both of which are dev dependencies.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:10-8030020210118191659.229f0a1cFixed 2021-02-16RHSA-2021:0548
Red Hat Enterprise Linux 8nodejs:12-8030020210129141730.229f0a1cFixed 2021-02-16RHSA-2021:0549
Red Hat Enterprise Linux 8nodejs:14-8030020210126165503.229f0a1cFixed 2021-02-16RHSA-2021:0551
Red Hat Enterprise Linux 8nodejs:16-8050020211206113934.c5368500Fixed 2021-12-16RHSA-2021:5171
Red Hat Enterprise Linux 8nodejs:14-8050020211213115342.c5368500Fixed 2022-02-01RHSA-2022:0350
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:14-8040020211213111158.522a0ee4Fixed 2022-01-25RHSA-2022:0246
Red Hat Enterprise Linux 9nodejs-nodemon-0:2.0.19-1.el9_0Fixed 2022-09-20RHSA-2022:6595
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.15.4-2.el7Fixed 2021-02-04RHSA-2021:0421
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.20.1-1.el7Fixed 2021-02-11RHSA-2021:0485
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-nodemon-0:2.0.3-1.el7Fixed 2021-02-11RHSA-2021:0485
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs10-nodejs-0:10.23.1-2.el7Fixed 2021-02-15RHSA-2021:0521
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-nodemon-0:2.0.3-5.el7Fixed 2021-08-26RHSA-2021:3280
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.22.5-1.el7Fixed 2021-08-26RHSA-2021:3281
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-nodemon-0:2.0.3-5.el7Fixed 2021-08-26RHSA-2021:3281
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs14-nodejs-0:14.15.4-2.el7Fixed 2021-02-04RHSA-2021:0421
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs12-nodejs-0:12.20.1-1.el7Fixed 2021-02-11RHSA-2021:0485
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs12-nodejs-nodemon-0:2.0.3-1.el7Fixed 2021-02-11RHSA-2021:0485
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Quay 3yarnpkg-iniNot affected
Red Hat Software Collectionsrh-nodejs10-nodejs-nodemonOut of support scope
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-7788.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON