Skip to content

CVE-2023-30588 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 for...

MediumCVSS 5.3 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

6 packages: 5 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
nodejs node >= 4.0; >= 5.0; >= 6.0; >= 7.0 +13 more 16.20.1, 18.16.1, 20.3.1 Partially fixed
debian/nodejs(Debian 12) < 18.19.0+dfsg-6~deb12u1; = 18.13.0+dfsg1-1; = 18.13.0+dfsg1-1.1; = 18.19.0+dfsg-1 +4 more 18.19.0+dfsg-6~deb12u1 Fixed
debian/nodejs(Debian 13) < 18.13.0+dfsg1-1.1 18.13.0+dfsg1-1.1 Fixed
debian/nodejs(Debian 14) < 18.13.0+dfsg1-1.1 18.13.0+dfsg1-1.1 Fixed
nodejs node.js >= 16.0.0, < 16.20.1; >= 18.0.0, < 18.16.1; >= 20.0.0, < 20.3.1 16.20.1, 18.16.1, 20.3.1 Fixed
ubuntu/nodejs(Ubuntu 24.04) < 18.19.1+dfsg-2ubuntu4; = 18.13.0+dfsg1-1ubuntu2 18.19.1+dfsg-2ubuntu4 Fixed

Affected products

ProductAffected versionsFixed in
debian/nodejs(Debian:12) < 18.19.0+dfsg-6~deb12u1 18.19.0+dfsg-6~deb12u1
debian/nodejs(Debian:12) = 18.13.0+dfsg1-1 No fix listed
debian/nodejs(Debian:12) = 18.13.0+dfsg1-1.1 No fix listed
debian/nodejs(Debian:12) = 18.19.0+dfsg-1 No fix listed
debian/nodejs(Debian:12) = 18.19.0+dfsg-2 No fix listed
debian/nodejs(Debian:12) = 18.19.0+dfsg-3 No fix listed
debian/nodejs(Debian:12) = 18.19.0+dfsg-4 No fix listed
debian/nodejs(Debian:12) = 18.19.0+dfsg-5 No fix listed
debian/nodejs(Debian:13) < 18.13.0+dfsg1-1.1 18.13.0+dfsg1-1.1
debian/nodejs(Debian:14) < 18.13.0+dfsg1-1.1 18.13.0+dfsg1-1.1
nodejs node >= 4.0 No fix listed
nodejs node >= 5.0 No fix listed
nodejs node >= 6.0 No fix listed
nodejs node >= 7.0 No fix listed
nodejs node >= 8.0 No fix listed
nodejs node >= 9.0 No fix listed
nodejs node >= 10.0 No fix listed
nodejs node >= 11.0 No fix listed
nodejs node >= 12.0 No fix listed
nodejs node >= 13.0 No fix listed
nodejs node >= 14.0 No fix listed
nodejs node >= 15.0 No fix listed
nodejs node >= 16.0, < 16.20.1 16.20.1
nodejs node >= 17.0 No fix listed
nodejs node >= 18.0, < 18.16.1 18.16.1
Show 7 more
ProductAffected versionsFixed in
nodejs node >= 19.0 No fix listed
nodejs node >= 20.0, < 20.3.1 20.3.1
nodejs node.js >= 16.0.0, < 16.20.1 16.20.1
nodejs node.js >= 18.0.0, < 18.16.1 18.16.1
nodejs node.js >= 20.0.0, < 20.3.1 20.3.1
ubuntu/nodejs(Ubuntu:24.04) < 18.19.1+dfsg-2ubuntu4 18.19.1+dfsg-2ubuntu4
ubuntu/nodejs(Ubuntu:24.04) = 18.13.0+dfsg1-1ubuntu2 No fix listed

References