Vulnerability · Published Nov 13, 2021 · Assigned by @huntrdev

CVE-2021-3918Prototype Pollution in kriszyp/json-schema

Critical 9.8

In plain English

A critical-severity prototype pollution in kriszyp/json-schema from kriszyp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.8% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)3.8%top 9.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:16.13.1-3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8nodejs1:16.13.1-3.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux:8nodejs1:14.18.2-2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8nodejs1:14.18.2-2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux:8nodejs-devel1:14.18.2-2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux:8nodejs-devel1:16.13.1-3.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux:8nodejs-devel1:16.13.1-3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8nodejs-devel1:14.18.2-2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8nodejs-docs1:16.13.1-3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8nodejs-docs1:14.18.2-2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux:8nodejs-docs1:16.13.1-3.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux:8nodejs-docs1:14.18.2-2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8nodejs-full-i18n1:14.18.2-2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux:8nodejs-full-i18n1:16.13.1-3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8nodejs-full-i18n1:16.13.1-3.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux:8nodejs-full-i18n1:14.18.2-2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8nodejs-nodemon2.0.15-1.module_el8.6.0+2904+f21ad6f4ALSA-2021:5171
AlmaLinux:8nodejs-nodemon2.0.15-1.module_el8.6.0+2904+f21ad6f4ALSA-2022:0350
AlmaLinux:8nodejs-nodemon2.0.15-1.module_el8.5.0+2605+45d748afALSA-2022:0350
AlmaLinux:8nodejs-nodemon2.0.15-1.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8nodejs-nodemon2.0.15-1.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2022:0350
AlmaLinux:8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8nodejs-packaging25-1.module_el8.5.0+246+05401605ALSA-2021:5171
AlmaLinux:8nodejs-packaging23-3.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8npm1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748afALSA-2021:5171
AlmaLinux:8npm1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafdALSA-2022:0350
AlmaLinux:8npm1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16ALSA-2022:0350
AlmaLinux:8npm1:8.1.2-1.16.13.1.3.module_el8.5.0+246+05401605ALSA-2021:5171
Debian:12node-json-schema0.4.0+~7.0.9-1DEBIAN-CVE-2021-3918
Debian:13node-json-schema0.4.0+~7.0.9-1DEBIAN-CVE-2021-3918
Debian:14node-json-schema0.4.0+~7.0.9-1DEBIAN-CVE-2021-3918
Rocky Linux:8nodejs1:16.13.1-3.module+el8.5.0+721+4c107270RLSA-2021:5171
Rocky Linux:8nodejs1:14.18.2-2.module+el8.5.0+733+de4fee6cRLSA-2022:0350
Rocky Linux:8nodejs-nodemon0:2.0.15-1.module+el8.5.0+721+4c107270RLSA-2022:0350
Rocky Linux:8nodejs-nodemon0:2.0.15-1.module+el8.5.0+721+4c107270RLSA-2021:5171
Rocky Linux:8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2022:0350
Rocky Linux:8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2022:0350
Rocky Linux:8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2021:5171
Rocky Linux:8nodejs-packaging0:25-1.module+el8.6.0+1046+80feca58RLSA-2021:5171
Rocky Linux:8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2022:0350
npmjson-schema0.4.0GHSA-896r-f27r-55mw

Affected products (as reported)

VendorProductVersions
kriszyp kriszyp/json-schema unspecified – through 0.3.0

Weakness: CWE-1321 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References