← Back to CVEs
CVE-2020-7777
HIGH7.2
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.
CVE Details
CVSS v3.1 Score7.2
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredHIGH
User InteractionNONE
Published11/23/2020
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
jsen_project:jsen
References
https://snyk.io/vuln/SNYK-JS-JSEN-1014670(report@snyk.io)
https://github.com/bugventure/jsen/blob/master/lib/jsen.js%23L875(af854a3a-2127-422b-91ae-364da2661108)
https://snyk.io/vuln/SNYK-JS-JSEN-1014670(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.