CVE-2019-5413
nodejs-morgan: Unescaped input in compile() function
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (low).
Description
An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | morgan | 1.9.1 |
| Red Hat | nodejs-morgan | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2019-5413
- https://github.com/advisories/GHSA-gwg9-rgvj-4h5j
- https://github.com/nodejs/security-wg/blob/master/vuln/npm/473.json
- https://hackerone.com/reports/390881
- https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3@%3Ccommits.netbeans.apache.org%3E
- https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63@%3Cnotifications.netbeans.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2019-5413
- https://www.cve.org/CVERecord?id=CVE-2019-5413