GitHub Advisoryadvisory · npm

GHSA-gwg9-rgvj-4h5j Code Injection in morgan

CRITICAL Published 2019-03-25 Modified 2023-09-12 Official page ↗
Aliases
CVE-2019-5413
Ecosystem
npm
Packages
morgan
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2020-06-16

Affected packages

• npm morgan: < 1.9.1 → fixed in 1.9.1

Description

Verisons of `morgan` before 1.9.1 are vulnerable to code injection when user input is allowed into the filter or combined with a prototype pollution attack. Recommendation Update to version 1.9.1 or later.

Related

Alias · CVE (1)

  • CVE-2019-5413 An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References