CVE-2023-30590
CVE-2023-30590
This page contains facts from public vulnerability sources. Check the original advisory before updating.
The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values". The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are consequently broad.
CVSS 7.5 · High · EPSS 1.5% · Fix available
- Published
- Updated
Affected products and versions
node.js
- Versions
- ≥ 4.0, < 4.*: Affected (semver)
- ≥ 5.0, < 5.*: Affected (semver)
- ≥ 6.0, < 6.*: Affected (semver)
- ≥ 7.0, < 7.*: Affected (semver)
- ≥ 8.0, < 8.*: Affected (semver)
- ≥ 9.0, < 9.*: Affected (semver)
- ≥ 10.0, < 10.*: Affected (semver)
- ≥ 11.0, < 11.*: Affected (semver)
- ≥ 12.0, < 12.*: Affected (semver)
- ≥ 13.0, < 13.*: Affected (semver)
- ≥ 14.0, < 14.*: Affected (semver)
- ≥ 15.0, < 15.*: Affected (semver)
- ≥ 16.0, < 16.20.1: Affected (semver)
- ≥ 17.0, < 17.*: Affected (semver)
- ≥ 18.0, < 18.16.1: Affected (semver)
- ≥ 19.0, < 19.*: Affected (semver)
- ≥ 20.0, < 20.3.1: Affected (semver)
Update to 16.20.1; Update to 18.16.1; Update to 20.3.1
nodejs Debian:12
- Versions
- 18.13.0+dfsg1-1
- 18.13.0+dfsg1-1.1
- 18.19.0+dfsg-1
- 18.19.0+dfsg-2
- 18.19.0+dfsg-3
- 18.19.0+dfsg-4
- 18.19.0+dfsg-5
- Affected ranges
- ECOSYSTEM: < 18.19.0+dfsg-6~deb12u1
Update to 18.19.0+dfsg-6~deb12u1
nodejs Debian:13
- Affected ranges
- ECOSYSTEM: < 18.13.0+dfsg1-1.1
Update to 18.13.0+dfsg1-1.1
nodejs Debian:14
- Affected ranges
- ECOSYSTEM: < 18.13.0+dfsg1-1.1
Update to 18.13.0+dfsg1-1.1
nodejs Ubuntu:Pro:14.04:LTS
- Versions
- 0.10.15~dfsg1-4
- 0.10.21~dfsg1-1
- 0.10.22~dfsg1-2
- 0.10.23~dfsg1-1
- 0.10.23~dfsg1-2
- 0.10.23~dfsg1-3
- 0.10.24~dfsg1-1
- 0.10.25~dfsg2-2
- 0.10.25~dfsg2-2ubuntu1
- 0.10.25~dfsg2-2ubuntu1.2
- 0.10.25~dfsg2-2ubuntu1.2+esm1
- Affected ranges
- ECOSYSTEM: < 0.10.25~dfsg2-2ubuntu1.2+esm2
Update to 0.10.25~dfsg2-2ubuntu1.2+esm2
nodejs Ubuntu:Pro:16.04:LTS
- Versions
- 0.10.25~dfsg2-2ubuntu1
- 4.2.2~dfsg-1
- 4.2.3~dfsg-1
- 4.2.4~dfsg-1ubuntu1
- 4.2.4~dfsg-2
- 4.2.6~dfsg-1ubuntu1
- 4.2.6~dfsg-1ubuntu4
- 4.2.6~dfsg-1ubuntu4.1
- 4.2.6~dfsg-1ubuntu4.2
- 4.2.6~dfsg-1ubuntu4.2+esm1
- 4.2.6~dfsg-1ubuntu4.2+esm2
- Affected ranges
- ECOSYSTEM: < 4.2.6~dfsg-1ubuntu4.2+esm3
Update to 4.2.6~dfsg-1ubuntu4.2+esm3
nodejs Ubuntu:Pro:18.04:LTS
- Versions
- 6.11.4~dfsg-1ubuntu1
- 6.11.4~dfsg-1ubuntu2
- 6.12.0~dfsg-1ubuntu1
- 6.12.0~dfsg-2ubuntu1
- 6.12.0~dfsg-2ubuntu2
- 8.10.0~dfsg-2
- 8.10.0~dfsg-2ubuntu0.2
- 8.10.0~dfsg-2ubuntu0.3
- 8.10.0~dfsg-2ubuntu0.4
- 8.10.0~dfsg-2ubuntu0.4+esm1
- 8.10.0~dfsg-2ubuntu0.4+esm2
- 8.10.0~dfsg-2ubuntu0.4+esm3
- 8.10.0~dfsg-2ubuntu0.4+esm4
- Affected ranges
- ECOSYSTEM: < 8.10.0~dfsg-2ubuntu0.4+esm5
Update to 8.10.0~dfsg-2ubuntu0.4+esm5
nodejs Ubuntu:20.04:LTS
- Versions
- 10.15.2~dfsg-2ubuntu1
- 10.17.0~dfsg-2ubuntu4
- 10.17.0~dfsg-2ubuntu6
- 10.19.0~dfsg-3ubuntu1
- 10.19.0~dfsg-3ubuntu1.1
- 10.19.0~dfsg-3ubuntu1.2
- 10.19.0~dfsg-3ubuntu1.3
- 10.19.0~dfsg-3ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 10.19.0~dfsg-3ubuntu1.6
Update to 10.19.0~dfsg-3ubuntu1.6
nodejs Ubuntu:22.04:LTS
- Versions
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- 12.22.9~dfsg-1ubuntu3.1
- 12.22.9~dfsg-1ubuntu3.2
- 12.22.9~dfsg-1ubuntu3.3
- 12.22.9~dfsg-1ubuntu3.4
- Affected ranges
- ECOSYSTEM: < 12.22.9~dfsg-1ubuntu3.5
Update to 12.22.9~dfsg-1ubuntu3.5
Original sources
- https://nodejs.org/en/blog/vulnerability/june-2023-security-releases
- https://lists.debian.org/debian-lts-announce/2024/03/msg00029.html
- https://security.netapp.com/advisory/ntap-20241101-0011/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00029.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-30590