GitHub Advisoryadvisory · npm

GHSA-fwv4-6mxc-x5h3 morgan-json vulnerable to Arbitrary Code Execution

CRITICAL Published 2022-08-29 Modified 2022-09-16 Official page ↗
Aliases
CVE-2022-25921
Ecosystem
npm
Packages
morgan-json
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2022-09-16

Affected packages

• npm morgan-json: <= 1.1.0 (no fix yet)

Description

All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the `Function` constructor.

Related

Alias · CVE (1)

  • CVE-2022-25921 All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References