CWE
915 1321
Advisory Published
CVE Published
Advisory Published
Updated

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

First published: Sun Oct 03 2021(Updated: )

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

Credit: security@huntr.dev security@huntr.dev

Affected SoftwareAffected VersionHow to fix
redhat/rh-nodejs14-nodejs<0:14.18.2-1.el7
0:14.18.2-1.el7
redhat/rh-nodejs14-nodejs-nodemon<0:2.0.3-6.el7
0:2.0.3-6.el7
redhat/rh-nodejs12-nodejs<0:12.22.12-2.el7
0:12.22.12-2.el7
Json-schema Project Json-schema<0.4.0
Debian Debian Linux=10.0
npm/json-schema<0.4.0
0.4.0
redhat/nodejs-json-schema<0.4.0
0.4.0
redhat/node<16.11.0
16.11.0
redhat/npm<8.1.0
8.1.0
<=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the vulnerability ID of this vulnerability?

    The vulnerability ID of this vulnerability is CVE-2021-3918.

  • What is the title of this vulnerability?

    The title of this vulnerability is 'json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ( Prototype Pollution ) vulnerability'.

  • What is the severity of CVE-2021-3918?

    The severity of CVE-2021-3918 is critical with a CVSS score of 9.8.

  • Which software versions are affected by CVE-2021-3918?

    The affected software versions are nodejs-json-schema up to exclusive version 0.4.0, node up to exclusive version 16.11.0, and npm up to exclusive version 8.1.0.

  • How can an attacker exploit CVE-2021-3918?

    An attacker can exploit CVE-2021-3918 by providing a specially crafted JSON file for validation, which can lead to arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203