Bug 1214156 (CVE-2023-32006) - VUL-0: CVE-2023-32006: nodejs18,nodejs16,nodejs14: Permissions policies can impersonate other modules in using module.constructor.createRequire()
Summary: VUL-0: CVE-2023-32006: nodejs18,nodejs16,nodejs14: Permissions policies can i...
Status: RESOLVED FIXED
Alias: CVE-2023-32006
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/374913/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-32006:5.6:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 12:10 UTC by Robert Frohl
Modified: 2023-11-06 04:26 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
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-08-10 12:10:00 UTC
CVE-2023-32006

The use of module.constructor.createRequire() can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. Please note that at the time this CVE was issued, the policy mechanism is an experimental feature of Node.js. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x.

Security Advisory:
https://nodejs.org/en/blog/vulnerability/august-2023-security-releases#permissions-policies-can-impersonate-other-modules-in-using-moduleconstructorcreaterequire-mediumcve-2023-32006

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-32006
https://bugzilla.redhat.com/show_bug.cgi?id=2230955
Comment 1 OBSbugzilla Bot 2023-08-10 15:55:10 UTC
This is an autogenerated message for OBS integration:
This bug (1214156) was mentioned in
https://build.opensuse.org/request/show/1103349 Factory / nodejs20
Comment 4 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 5 Maintenance Automation 2023-08-18 12:30:08 UTC
SUSE-SU-2023:3356-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1214150, 1214154, 1214156
CVE References: CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
Web and Scripting Module 12 (src): nodejs18-18.17.1-8.12.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-08-18 12:30:12 UTC
SUSE-SU-2023:3355-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1214150, 1214154, 1214156
CVE References: CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
Web and Scripting Module 12 (src): nodejs16-16.20.2-8.33.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 9 Maintenance Automation 2023-08-22 20:30:07 UTC
SUSE-SU-2023:3379-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1214150, 1214154, 1214156
CVE References: CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
openSUSE Leap 15.4 (src): nodejs16-16.20.2-150400.3.24.1
Web and Scripting Module 15-SP4 (src): nodejs16-16.20.2-150400.3.24.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 10 Maintenance Automation 2023-08-22 20:30:09 UTC
SUSE-SU-2023:3378-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1214150, 1214154, 1214156
CVE References: CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
openSUSE Leap 15.4 (src): nodejs18-18.17.1-150400.9.12.1
openSUSE Leap 15.5 (src): nodejs18-18.17.1-150400.9.12.1
Web and Scripting Module 15-SP4 (src): nodejs18-18.17.1-150400.9.12.1
Web and Scripting Module 15-SP5 (src): nodejs18-18.17.1-150400.9.12.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 11 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 12 Maintenance Automation 2023-08-23 20:30:20 UTC
SUSE-SU-2023:3400-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1214150, 1214154, 1214156
CVE References: CVE-2023-32002, CVE-2023-32006, CVE-2023-32559
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): nodejs16-16.20.2-150300.7.27.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): nodejs16-16.20.2-150300.7.27.2
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): nodejs16-16.20.2-150300.7.27.2
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): nodejs16-16.20.2-150300.7.27.2
SUSE Manager Server 4.2 (src): nodejs16-16.20.2-150300.7.27.2
SUSE Enterprise Storage 7.1 (src): nodejs16-16.20.2-150300.7.27.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 13 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.