CVE-2023-30588
Reported by hackerone · Published November 28, 2023
When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible to DoS attacks when the attacker could force interruptions of application processing, as the process terminates when accessing public key info of provided certificates from user code. The current context of the users will be gone, and that will cause a DoS scenario. This vulnerability affects all active Node.js versions v16, v18, and, v20.
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-libs | Amazon Linux | 1:18.12.1-1.amzn2023.0.7 |
| npm | Amazon Linux | 1:8.19.2-1.18.12.1.1.amzn2023.0.7 |
| nodejs-18 | Wolfi | 18.16.1-r0 |
| nodejs-20 | Wolfi | 20.3.1-r0 |
| nodejs-devel | Amazon Linux | 1:18.12.1-1.amzn2023.0.7 |
| nodejs-16 | Wolfi | 16.20.1-r0 |
| nodejs-packaging | errata.rockylinux.org | 0:2021.06-4.module+el9.7.0+40022+9ecc286c.src, 0:2021.06-4.module+el9.7.0+40022+9ecc286c.noarch |
| nodejs-16 | Chainguard | 16.20.1-r0 |
| node-min | Bitnami | 20.3.1, 18.16.1, 16.20.1 |
| nodejs-18 | Chainguard | 18.16.1-r0 |
| nodejs-packaging-bundler | errata.rockylinux.org | 0:2021.06-4.module+el9.7.0+40022+9ecc286c.noarch |
| v8-devel | Amazon Linux | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.7 |
14 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-libs | 0 |
| amazon:2023 | npm | 0 |
| wolfi | nodejs-18 | 0 |
| wolfi | nodejs-20 | 0 |
| amazon:2023 | nodejs-devel | 0 |
| wolfi | nodejs-16 | 0 |
| chainguard | nodejs-16 | 0 |
| chainguard | nodejs-18 | 0 |
| amazon:2023 | v8-devel | 0 |
| amazon:2023 | nodejs-full-i18n | 0 |
| chainguard | nodejs-20 | 0 |
| amazon:2023 | nodejs-docs | 0 |
| NodeJS | Node | 15.0, 16.0, 17.0 |
| amazon:2023 | nodejs | 0 |
Timeline
- Jul 20, 2023 PoC Published
- Nov 28, 2023 CVE Published
- Nov 29, 2023 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (10 in total, the first dated here)
- Nov 12, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-30588
vulnetix vdb fixes CVE-2023-30588
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-2023-30588/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart