logo

CVE-2020-7770 json8

Package

Manager: npm
Name: json8
Vulnerable Version: >=0 <1.0.3

Severity

Level: Critical

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

EPSS: 0.00342 pctl0.56171

Details

Prototype pollution in json8 This affects the package json8 before 1.0.3. The 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.

Metadata

Created: 2021-05-10T19:17:05Z
Modified: 2021-04-19T22:36:51Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-7h43-gx24-p529/GHSA-7h43-gx24-p529.json
CWE IDs: ["CWE-1321"]
Alternative ID: GHSA-7h43-gx24-p529
Finding: F390
Auto approve: 1