Skip to content

When an invalid public key is used to create an x509...

Moderate severity Unreviewed Published Nov 28, 2023 to the GitHub Advisory Database • Updated Dec 13, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Nov 28, 2023
Published to the GitHub Advisory Database Nov 28, 2023
Last updated Dec 13, 2023

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weaknesses

No CWEs

CVE ID

CVE-2023-30588

GHSA ID

GHSA-g526-x7vj-cfv6

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Checking history
See something to contribute? Suggest improvements for this vulnerability.