# 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 a…

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 14.7%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-16T00:00:00.000Z
- Modified: 2026-10-16T09:45:28.343Z
- Also known as: BIT-NODE-2021-22939, BIT-NODE-MIN-2021-22939
- Weaknesses: CWE-295
- Assigned by: hackerone

## 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 have been accepted.

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.22.5; from 13.0 before 13.*; from 14.0 before 14.17.5; from 15.0 before 15.*; and 1 more
- nodejs node.js: from 12.0.0 before 12.22.5; from 14.0.0 before 14.17.5; from 16.0.0 before 16.6.2
- oracle graalvm: 20.3.3; 21.2.0
- oracle jd_edwards_enterpriseone_tools: up to 9.2.6.1
- oracle mysql_cluster: up to 8.0.26
- oracle peoplesoft_enterprise_peopletools: 8.57; 8.58; 8.59
- netapp nextgen_api: no versions given
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- debian debian_linux: 10.0
- node (Bitnami): from 12.0.0 before 12.22.5; from 14.0.0 before 14.17.5; from 16.0.0 before 16.6.2
- node-min (Bitnami): from 12.0.0 before 12.22.5; from 14.0.0 before 14.17.5; from 16.0.0 before 16.6.2

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/1278254> (exploit, advisory, issue-tracking, third-party-advisory)
- <https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/> (advisory, patch, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210917-0003/> (advisory, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (advisory, patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (advisory, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00006.html> (advisory, issue-tracking, mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202401-02> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22939> (web)

## Sources

- CVE List: [CVE-2021-22939](https://www.cve.org/CVERecord?id=CVE-2021-22939), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2021-22939](https://nvd.nist.gov/vuln/detail/CVE-2021-22939), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2021-22939](https://osv.dev/vulnerability/BIT-NODE-2021-22939), Apache-2.0, modified 2026-10-16
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2021-22939](https://osv.dev/vulnerability/BIT-NODE-MIN-2021-22939), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2021-22939 · Whole record: https://cve.day/CVE-2021-22939.json · Rebuilt by cve.day 2026-11-25T22:58:03.260Z
