CVE-2020-7777

Arbitrary Code Execution

High · published November 23, 2020

CVSS v3.1
7.2
EPSS
2%
Percentile
81.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C
CVSS v4.0
Not supplied
EPSS
0.02114 · 81.6th percentile
Published
2020-11-23T15:40Z
EPSS history
Timeline
  • 23 NOV 15:40Z
    Arbitrary Code Execution
    cvelistv5