CVE-2022-25921
8.1high
Arbitrary Code Execution
- Severity
- 8.1high CVSS:3.1 by snyk
- Exploit likelihood
- 1.47% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-fwv4-6mxc-x5h3
Description
All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| morgan-json | before unspecified | CVE List |
| morgan-json (npm) | up to 1.1.0 | GitHub Advisory Database |
| morgan-json_project morgan-json | Not specified | NVD |
All scores
| snyk | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.
GitHub Advisory Database
All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.
NVD (es)
Todas las versiones del paquete morgan-json son vulnerables a una Ejecución Arbitraria de Código debido a una falta de saneo de la entrada pasada al constructor de la función
References
| https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193 | exploit, third-party-advisory, web | |
| https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46 | broken-link, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-25921 | advisory | |
| https://github.com/indexzero/morgan-json | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25921 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fwv4-6mxc-x5h3 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-25921 changed 2026-06-17 | Public domain |