Improper Certificate Validation Affecting nodejs:12/nodejs-docs package, versions <1:12.22.5-1.module_el8.4.0+2529+af52a4c7


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.51% (77th 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-ALMALINUX8-NODEJS-5613462
  • published28 May 2023
  • disclosed21 Sept 2021

Introduced: 21 Sep 2021

CVE-2021-22939  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 nodejs:12/nodejs-docs to version 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 or higher.
This issue was patched in ALSA-2021:3623.

NVD Description

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

If the Node.js https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted.

CVSS Scores

version 3.1