Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. json8
  4. ›
  5. CVE-2020-7770

CVE-2020-7770: Improper Input Validation

November 12, 2020 (updated July 21, 2021)

The apply function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-7770

Code Behaviors & Features

Detect and mitigate CVE-2020-7770 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.3

Fixed versions

  • 1.0.3

Solution

Upgrade to version 1.0.3 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/json8/CVE-2020-7770.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.