CVE-2022-32222
Reported by hackerone · Published July 14, 2022
A cryptographic vulnerability exists on Node.js on linux in versions of 18.x prior to 18.40.0 which allowed a default path for openssl.cnf that might be accessible under some circumstances to a non-admin user instead of /etc/ssl as was the case in versions prior to the upgrade to OpenSSL 3.
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 | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| node | dhi.docker.com | 18.9.1, 16.20.0, 14.20.0 |
| nodejs-full-i18n | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| node-min | Bitnami | 18.5.0 |
| node | Bitnami | 18.5.0 |
| nodejs-libs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| npm | Amazon Linux | 1:8.19.2-1.18.12.1.1.amzn2023.0.2 |
| nodejs-docs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| v8-devel | Amazon Linux | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 |
| nodejs-devel | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| nodejs-current | Alpine | 18.9.1-r0, 18.6.0-r0 |
| node-min | Bitnami | 18.5.0 |
9 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| amazon:2023 | nodejs | 0 |
| NodeJS | Node | 12.0, 10.0, 11.0 |
| amazon:2023 | nodejs-full-i18n | 0 |
| amazon:2023 | nodejs-libs | 0 |
| amazon:2023 | npm | 0 |
| amazon:2023 | nodejs-docs | 0 |
| amazon:2023 | v8-devel | 0 |
| amazon:2023 | nodejs-devel | 0 |
| alpine | nodejs-current | 0, 0 |
Timeline
- Jul 14, 2022 CVE Published
- Jul 15, 2022 EPSS Score (30 in total, the first dated here)
- Oct 26, 2022 PoC Published (3 in total, the first dated here)
- Jun 2, 2026 Security Advisory (9 in total, the first dated here)
- Jun 24, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-32222
vulnetix vdb fixes CVE-2022-32222
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-2022-32222/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart