Skip to main content
← All vulnerabilities
CVE-2020-7777GHSA-VM64-CFQX-3698

Arbitrary Code Execution

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a jsen

    All versions

  • jsennpm

    through 0.6.6

References 2

snyk.io

GitHub · bugventure/jsen