synced 2 MIN AGO
01 Record

CVE-2021-22939

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

UnratedPUBLISHEDCNA: hackerone
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
14.73% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 96.3% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-08-16 00:00Z5 YR AGO
Last updated
2025-04-30 22:24Z1 YR AGO
Reserved
2021-01-06
Assigning CNA
hackerone
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-295Improper Certificate ValidationBase
  • CWE-20Improper Input ValidationClass
Data version
5.1
Document digest
7d2858f672ca9619b29886e30756f6d766d4aa3bd1e7b973107c61b28fd08046

05 Affected products

VendorProductVersionsPlatforms
NodeJSNode4.0 to < 4.*, 5.0 to < 5.*, 6.0 to < 6.*, 7.0 to < 7.*, 8.0 to < 8.*, 9.0 to < 9.*, 10.0 to < 10.*, 11.0 to < 11.*, 12.0 to < 12.22.5, 13.0 to < 13.*, 14.0 to < 14.17.5, 15.0 to < 15.*, 16.0 to < 16.6.2—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-docs
    Fixed in 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-nodemon
    Fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 17-3.module_el8.3.0+2023+d2377ea3
    • Affected before 17-3.module_el8.4.0+2224+b07ac28e
    • Affected before 17-3.module_el8.4.0+2521+c668cc9f
    • Affected before 23-3.module_el8.4.0+2522+3bd42762
    • Affected before 23-3.module_el8.5.0+254+b4526b16
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • nodejs
    Fixed in 16.6.2-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-docs
    Fixed in 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-nodemon
    Fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 17-3.module_el8.3.0+2023+d2377ea3
    • Affected before 17-3.module_el8.4.0+2224+b07ac28e
    • Affected before 17-3.module_el8.4.0+2521+c668cc9f
    • Affected before 23-3.module_el8.4.0+2522+3bd42762
    • Affected before 23-3.module_el8.5.0+254+b4526b16
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • nodejs
    Fixed in 12.22.5~dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • nodejs
    Fixed in 12.22.5~dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • nodejs
    Fixed in 12.22.5~dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • nodejs
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • nodejs
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • nodejs
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.