Bug 1212583 - VUL-0: CVE-2023-30590: nodejs14,nodejs16,nodejs18: DiffieHellman do not generate keys after setting a private key
Summary: VUL-0: CVE-2023-30590: nodejs14,nodejs16,nodejs18: DiffieHellman do not gener...
Status: RESOLVED FIXED
Alias: None
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Adam Majer
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/370089/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-30590:5.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-21 11:53 UTC by Robert Frohl
Modified: 2024-05-30 18:52 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2023-06-21 11:53:40 UTC
DiffieHellman do not generate keys after setting a private key (Medium) (CVE-2023-30590)

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.

However, the documentation says this API call: "Generates private and public Diffie-Hellman key values".

The documented behavior is 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.

Please note that this is a documentation change an the vulnerability has been classified under CWE-1068 - Inconsistency Between Implementation and Documented Design. This change applies to all Node.js active versions: v16, v18, and, v20.

Thanks to Ben Smyth for reporting this vulnerability and to Tobias Nießen for fixing it.

https://nodejs.org/en/blog/vulnerability/june-2023-security-releases
Comment 1 OBSbugzilla Bot 2023-06-21 12:45:18 UTC
This is an autogenerated message for OBS integration:
This bug (1212583) was mentioned in
https://build.opensuse.org/request/show/1094364 Factory / nodejs20
Comment 3 Maintenance Automation 2023-06-27 12:30:48 UTC
SUSE-SU-2023:2655-1: An update that solves nine vulnerabilities and has one fix can now be installed.

Category: security (important)
Bug References: 1211407, 1211604, 1211605, 1211606, 1211607, 1212574, 1212579, 1212581, 1212582, 1212583
CVE References: CVE-2023-30581, CVE-2023-30585, CVE-2023-30588, CVE-2023-30589, CVE-2023-30590, CVE-2023-31124, CVE-2023-31130, CVE-2023-31147, CVE-2023-32067
Sources used:
Web and Scripting Module 12 (src): nodejs16-16.20.1-8.30.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Maintenance Automation 2023-06-27 20:30:18 UTC
SUSE-SU-2023:2663-1: An update that solves nine vulnerabilities and has one fix can now be installed.

Category: security (important)
Bug References: 1211407, 1211604, 1211605, 1211606, 1211607, 1212574, 1212579, 1212581, 1212582, 1212583
CVE References: CVE-2023-30581, CVE-2023-30585, CVE-2023-30588, CVE-2023-30589, CVE-2023-30590, CVE-2023-31124, CVE-2023-31130, CVE-2023-31147, CVE-2023-32067
Sources used:
openSUSE Leap 15.4 (src): nodejs16-16.20.1-150400.3.21.1
Web and Scripting Module 15-SP4 (src): nodejs16-16.20.1-150400.3.21.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Maintenance Automation 2023-06-27 20:30:23 UTC
SUSE-SU-2023:2662-1: An update that solves 10 vulnerabilities and has one fix can now be installed.

Category: security (important)
Bug References: 1208744, 1211407, 1211604, 1211605, 1211606, 1211607, 1212574, 1212579, 1212581, 1212582, 1212583
CVE References: CVE-2022-25881, CVE-2023-30581, CVE-2023-30585, CVE-2023-30588, CVE-2023-30589, CVE-2023-30590, CVE-2023-31124, CVE-2023-31130, CVE-2023-31147, CVE-2023-32067
Sources used:
Web and Scripting Module 12 (src): nodejs18-18.16.1-8.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2023-06-28 11:42:50 UTC
SUSE-SU-2023:2669-1: An update that solves 10 vulnerabilities and has one fix can now be installed.

Category: security (important)
Bug References: 1208744, 1211407, 1211604, 1211605, 1211606, 1211607, 1212574, 1212579, 1212581, 1212582, 1212583
CVE References: CVE-2022-25881, CVE-2023-30581, CVE-2023-30585, CVE-2023-30588, CVE-2023-30589, CVE-2023-30590, CVE-2023-31124, CVE-2023-31130, CVE-2023-31147, CVE-2023-32067
Sources used:
openSUSE Leap 15.4 (src): nodejs18-18.16.1-150400.9.9.1
openSUSE Leap 15.5 (src): nodejs18-18.16.1-150400.9.9.1
Web and Scripting Module 15-SP4 (src): nodejs18-18.16.1-150400.9.9.1
Web and Scripting Module 15-SP5 (src): nodejs18-18.16.1-150400.9.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2023-07-17 16:37:44 UTC
SUSE-SU-2023:2861-1: An update that solves nine vulnerabilities and has one fix can now be installed.

Category: security (important)
Bug References: 1211407, 1211604, 1211605, 1211606, 1211607, 1212574, 1212579, 1212581, 1212582, 1212583
CVE References: CVE-2023-30581, CVE-2023-30585, CVE-2023-30588, CVE-2023-30589, CVE-2023-30590, CVE-2023-31124, CVE-2023-31130, CVE-2023-31147, CVE-2023-32067
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): nodejs16-16.20.1-150300.7.24.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): nodejs16-16.20.1-150300.7.24.2
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): nodejs16-16.20.1-150300.7.24.2
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): nodejs16-16.20.1-150300.7.24.2
SUSE Manager Server 4.2 (src): nodejs16-16.20.1-150300.7.24.2
SUSE Enterprise Storage 7.1 (src): nodejs16-16.20.1-150300.7.24.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Maintenance Automation 2023-08-14 12:30:07 UTC
SUSE-SU-2023:3306-1: An update that solves six vulnerabilities can now be installed.

Category: security (important)
Bug References: 1212574, 1212582, 1212583, 1214150, 1214154, 1214156
CVE References: CVE-2023-30581, CVE-2023-30589, CVE-2023-30590, CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
Web and Scripting Module 12 (src): nodejs14-14.21.3-6.46.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Maintenance Automation 2023-08-23 20:30:04 UTC
SUSE-SU-2023:3408-1: An update that solves six vulnerabilities can now be installed.

Category: security (important)
Bug References: 1212574, 1212582, 1212583, 1214150, 1214154, 1214156
CVE References: CVE-2023-30581, CVE-2023-30589, CVE-2023-30590, CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
openSUSE Leap 15.4 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Manager Server 4.2 (src): nodejs14-14.21.3-150200.15.49.1
SUSE Enterprise Storage 7.1 (src): nodejs14-14.21.3-150200.15.49.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 14 Maintenance Automation 2023-08-28 16:30:15 UTC
SUSE-SU-2023:3455-1: An update that solves seven vulnerabilities can now be installed.

Category: security (important)
Bug References: 1208481, 1212574, 1212582, 1212583, 1214150, 1214154, 1214156
CVE References: CVE-2023-23918, CVE-2023-30581, CVE-2023-30589, CVE-2023-30590, CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Manager Server 4.2 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Enterprise Storage 7.1 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Enterprise Storage 7 (src): nodejs12-12.22.12-150200.4.50.1
openSUSE Leap 15.4 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): nodejs12-12.22.12-150200.4.50.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): nodejs12-12.22.12-150200.4.50.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 17 Carlos López 2024-05-30 18:52:40 UTC
Done, closing.