Arbitrary Code Injection Affecting nodejs-morgan package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.4% (89th 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 IDSNYK-RHEL10-NODEJSMORGAN-9892016
  • published28 Apr 2025
  • disclosed1 Jan 2019

Introduced: 1 Jan 2019

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

How to fix?

There is no fixed version for RHEL:10 nodejs-morgan.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-morgan package and not the nodejs-morgan package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1.