Arbitrary Code Injection Affecting morgan package, versions <1.9.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.78% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MORGAN-72579
  • published12 Nov 2018
  • disclosed9 Nov 2018
  • creditUnknown

Introduced: 9 Nov 2018

CVE-2019-5413  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade morgan to version 1.9.1 or higher.

Overview

morgan is a HTTP request logger middleware for node.js.

Affected versions of this package are vulnerable to Arbitrary Code Injection. An attacker could use the format parameter to inject arbitrary commands.

CVSS Base Scores

version 3.1