CVE-2020-7777
Summary
| CVE | CVE-2020-7777 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-11-23 16:15:00 UTC |
| Updated | 2020-12-03 20:48:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Jsen Project | Jsen | All | All | All | All |
| Application | Jsen Project | Jsen | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Arbitrary Code Execution in jsen | Snyk | MISC | snyk.io | Exploit, Third Party Advisory |
| github.com/bugventure/jsen/blob/master/lib/jsen.js%23L875 | MISC | github.com | Broken Link |
| jsen/jsen.js at master · bugventure/jsen · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera (d3lla)
There are currently no legacy QID mappings associated with this CVE.