OS Command Injection Affecting nodejs-docs package, versions <1:16.16.0-1.el9_0


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.11% (45th 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-NODEJSDOCS-5619594
  • published28 May 2023
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

CVE-2022-32212  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 nodejs-docs to version 1:16.16.0-1.el9_0 or higher.
This issue was patched in ALSA-2022:6595.

NVD Description

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

A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.

CVSS Scores

version 3.1