CVE-2020-7777
Last modified
CVE-2020-7777 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. This affects all versions of package jsen. If an attacker can control the schema file, it could run arbitrary JavaScript code on the victim machine. EPSS estimates a 2.03% chance of exploitation in the next 30 days.
Description
This affects all versions of package jsen. If an attacker can control the schema file, it could run arbitrary JavaScript code on the victim machine. In the module description and README file there is no mention about the risks of untrusted schema files, so I assume that this is applicable. In particular the required field of the schema is not properly sanitized. The resulting string that is build based on the schema definition is then passed to a Function.apply();, leading to an Arbitrary Code Execution.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jsen Project | Jsen | All versions |
References
- https://snyk.io/vuln/SNYK-JS-JSEN-1014670Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-JSEN-1014670Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7777?
How severe is CVE-2020-7777?
How do I fix CVE-2020-7777?
Are you affected by CVE-2020-7777?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
