Improper Certificate Validation Affecting npm12 package, versions <12.22.5-4.19.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server 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-SLES153-NPM12-2666481
  • published14 Apr 2022
  • disclosed30 Aug 2021

Introduced: 30 Aug 2021

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

How to fix?

Upgrade SLES:15.3 npm12 to version 12.22.5-4.19.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream npm12 package and not the npm12 package as distributed by SLES. See How to fix? for SLES:15.3 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