CVE-2020-7777

HIGHCVSS 7.2/10EPSS 2.03%

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
7.2/10

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

EPSS Probability
2.03%

78.5th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
Jsen ProjectJsenAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-7777?
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.
How severe is CVE-2020-7777?
CVE-2020-7777 has a CVSS score of 7.2/10 (HIGH severity). The EPSS model estimates a 2.03% probability of exploitation in the next 30 days.
How do I fix CVE-2020-7777?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-7777?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST