VDB
CVE-2021-22939
CVE-2021-22939
PUBLISHED
Reported by hackerone · Published August 16, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nodejs-current | Alpine | 16.11.1-r0, 16.6.2-r0 |
| node | Bitnami | 16.6.2, 14.17.5, 12.22.5 |
| nodejs | Alpine | 14.17.5-r0, 12.22.5-r0 |
| node | dhi.docker.com | 16.6.2, 14.17.5, 12.22.5 |
| nodejs | Arch Linux | 16.6.2-1 |
| node-min | Bitnami | 16.6.2, 14.17.5, 12.22.5 |
| jd_edwards_enterpriseone_tools | oracle | 9.2.6.1 |
| alpine/nodejs-24 | alpine | 16.6.2, 14.17.5, 12.22.5 |
| alpine/nodejs-25 | alpine | 16.6.2, 14.17.5, 12.22.5 |
| node.js | nodejs | 16.6.2, 14.17.5, 12.22.5 |
| node | Bitnami | 16.6.2, 14.17.5, 12.22.5 |
| Node | NodeJS | 16.6.2, 14.17.5, 12.22.5 |
6 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| alpine | nodejs-current | 0, 0 |
| NodeJS | Node | 13.0, 14.0, 16.0 |
| alpine | nodejs | 0, 0 |
| arch | nodejs | 0 |
Timeline
- Aug 16, 2021 CVE Published
- Aug 17, 2021 EPSS Score (30 in total, the first dated here)
- Sep 10, 2021 PoC Published (2 in total, the first dated here)
- Mar 10, 2026 Security Advisory (19 in total, the first dated here)
- Aug 25, 2026 Coalition ESS Score
- Sep 1, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22939
vulnetix vdb fixes CVE-2021-22939
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22939/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20221005 [SECURITY] [DLA 3137-1] nodejs security update mailing-list
- GLSA-202401-02 vendor-advisory