Skip to content
Noroxi
CVE-2021-3918· NVD / CVE Program· CNA @huntrdev

Prototype Pollution in kriszyp/json-schema

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

CriticalCVSS 9.8 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Nov 13, 2021
Updated
Jun 17, 2026
EPSS
3.8% · 90th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.8%

CNA vs NVD score

NVD
9.8
CNA · @huntrdev
9.8
agree

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
json-schema projectjson-schema
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • json-schema project json-schemabefore 0.4.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (@huntrdev). Independent of NVD's CPE analysis and usually ahead of it.

  • kriszyp kriszyp/json-schema

    • unspecified and later · up to and including 0.3.0affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8nodejsbefore 1:16.13.1-3.module_el8.5.0+246+054016051:16.13.1-3.module_el8.5.0+246+05401605
AlmaLinux:8nodejsbefore 1:14.18.2-2.module_el8.5.0+2618+8d46dafd1:14.18.2-2.module_el8.5.0+2618+8d46dafd
AlmaLinux:8nodejsbefore 1:14.18.2-2.module_el8.5.0+254+b4526b161:14.18.2-2.module_el8.5.0+254+b4526b16
AlmaLinux:8nodejsbefore 1:16.13.1-3.module_el8.5.0+2605+45d748af1:16.13.1-3.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-develbefore 1:16.13.1-3.module_el8.5.0+2605+45d748af1:16.13.1-3.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-develbefore 1:14.18.2-2.module_el8.5.0+2618+8d46dafd1:14.18.2-2.module_el8.5.0+2618+8d46dafd
AlmaLinux:8nodejs-develbefore 1:14.18.2-2.module_el8.5.0+254+b4526b161:14.18.2-2.module_el8.5.0+254+b4526b16
AlmaLinux:8nodejs-develbefore 1:16.13.1-3.module_el8.5.0+246+054016051:16.13.1-3.module_el8.5.0+246+05401605
AlmaLinux:8nodejs-docsbefore 1:14.18.2-2.module_el8.5.0+254+b4526b161:14.18.2-2.module_el8.5.0+254+b4526b16
AlmaLinux:8nodejs-docsbefore 1:14.18.2-2.module_el8.5.0+2618+8d46dafd1:14.18.2-2.module_el8.5.0+2618+8d46dafd
AlmaLinux:8nodejs-docsbefore 1:16.13.1-3.module_el8.5.0+2605+45d748af1:16.13.1-3.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-docsbefore 1:16.13.1-3.module_el8.5.0+246+054016051:16.13.1-3.module_el8.5.0+246+05401605
AlmaLinux:8nodejs-full-i18nbefore 1:16.13.1-3.module_el8.5.0+246+054016051:16.13.1-3.module_el8.5.0+246+05401605
AlmaLinux:8nodejs-full-i18nbefore 1:14.18.2-2.module_el8.5.0+254+b4526b161:14.18.2-2.module_el8.5.0+254+b4526b16
AlmaLinux:8nodejs-full-i18nbefore 1:14.18.2-2.module_el8.5.0+2618+8d46dafd1:14.18.2-2.module_el8.5.0+2618+8d46dafd
AlmaLinux:8nodejs-full-i18nbefore 1:16.13.1-3.module_el8.5.0+2605+45d748af1:16.13.1-3.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-nodemonbefore 2.0.15-1.module_el8.6.0+2904+f21ad6f42.0.15-1.module_el8.6.0+2904+f21ad6f4
AlmaLinux:8nodejs-nodemonbefore 2.0.15-1.module_el8.5.0+2605+45d748af2.0.15-1.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-nodemonbefore 2.0.15-1.module_el8.5.0+2618+8d46dafd2.0.15-1.module_el8.5.0+2618+8d46dafd
AlmaLinux:8nodejs-packagingbefore 23-3.module_el8.5.0+2618+8d46dafd23-3.module_el8.5.0+2618+8d46dafd
AlmaLinux:8nodejs-packagingbefore 23-3.module_el8.4.0+2522+3bd4276223-3.module_el8.4.0+2522+3bd42762
AlmaLinux:8nodejs-packagingbefore 25-1.module_el8.5.0+2605+45d748af25-1.module_el8.5.0+2605+45d748af
AlmaLinux:8nodejs-packagingbefore 25-1.module_el8.5.0+246+0540160525-1.module_el8.5.0+246+05401605
AlmaLinux:8npmbefore 1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd

+96

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:nodejs1:16.13.1-3.module_el8.5.0+2605+45d748af · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-devel1:16.13.1-3.module_el8.5.0+2605+45d748af · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-docs1:16.13.1-3.module_el8.5.0+2605+45d748af · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-full-i18n1:16.13.1-3.module_el8.5.0+2605+45d748af · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-nodemon2.0.15-1.module_el8.6.0+2904+f21ad6f4 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging25-1.module_el8.5.0+246+05401605 · AlmaLinux:8Package registry (OSV)
almalinux:npm1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af · AlmaLinux:8Package registry (OSV)
debian:node-json-schema0.4.0+~7.0.9-1 · Debian:12Package registry (OSV)
npm:json-schema0.4.0Package registry (OSV)
opensuse:bind9.16.6-150000.12.65.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:dracut-saltboot0.1.1681904360.84ef141-150000.1.50.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:grafana9.5.8-150200.3.53.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:nodejs1010.24.1-150000.1.44.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:nodejs1:12.22.12-1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-debuginfo1:12.22.12-1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-debugsource1:12.22.12-1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-devel1:12.22.12-1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-docs1:12.22.12-1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-full-i18n1:12.22.12-1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-nodemon0:1.18.3-1.module+el8.1.0+3369+37ae6a45 · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:nodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45 · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:npm1:6.14.16-1.12.22.12.1.module+el8.1.0+15296+87b2f6ad · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:rh-nodejs14-nodejs0:14.18.2-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-nodejs14-nodejs-debuginfo0:14.18.2-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-nodejs14-nodejs-devel0:14.18.2-1.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
rocky linux:nodejs1:16.13.1-3.module+el8.5.0+721+4c107270 · Rocky Linux:8Package registry (OSV)
rocky linux:nodejs-nodemon0:2.0.15-1.module+el8.5.0+721+4c107270 · Rocky Linux:8Package registry (OSV)
rocky linux:nodejs-packaging0:25-1.module+el8.6.0+1046+80feca58 · Rocky Linux:8Package registry (OSV)
suse:bind9.16.6-150000.12.65.1 · SUSE:Manager Client Tools for SLE Micro 5Package registry (OSV)
suse:dracut-saltboot0.1.1681904360.84ef141-150000.1.50.1 · SUSE:Manager Client Tools 15Package registry (OSV)

+11

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records