CVE-2020-7766: This affects all versions of package json-ptr
CVE-2020-7766 is a high-severity flaw (CVSS 7.3) affecting json-ptr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.3 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 20%) |
| CISA exploited list | No |
| Weakness | CWE-1321 |
| Published | 2020-11-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-7766?
json-ptr: upgrade to 2.0.0. Exact commands for each OS are on this page.
Is CVE-2020-7766 being exploited?
CVE-2020-7766 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-7766 affect?
CVE-2020-7766 affects json-ptr. Severity is high (CVSS 7.3). 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 propert
How urgent is CVE-2020-7766?
Priority 55/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2021-23509 MEDIUM 5.6 UPGRADE This affects the package json-ptr before 3.0.0