CVE-2020-7766
CVSS V2 High 7.5
CVSS V3 High 7.3
Description
This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.
Overview
- CVE ID
- CVE-2020-7766
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2020-11-10T16:15:14
- Last Modified Date
- 2022-12-02T19:44:37
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:json-ptr_project:json-ptr:*:*:*:*:*:*:*:* | 1 | OR | 2.0.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 7.3
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.4
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939 | Exploit Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396 | Exploit Third Party Advisory |
https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174 | Broken Link |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-7766 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7766 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:05:45 | Added to TrackCVE | |||
2022-12-05 16:22:38 | 2020-11-10T16:15Z | 2020-11-10T16:15:14 | CVE Published Date | updated |
2022-12-05 16:22:38 | 2022-12-02T19:44:37 | CVE Modified Date | updated | |
2022-12-05 16:22:38 | Analyzed | Vulnerability Status | updated |