CVE-2023-32559: High severity langgenius dify node.js vulnerability

Published Aug 10, 2023
·
Updated

A privilege escalation vulnerability exists in the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. The use of the deprecated API process.binding() can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding('spawnsync') run arbitrary code, outside of the limits defined in a policy.json file. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

Other sources

Node.js could allow a remote attacker to bypass security restrictions, caused by the use of the deprecated API process.binding(). By sending a specially crafted request, an attacker could exploit this vulnerability to bypass the permission policy mechanism.

IBM

The use of the deprecated API process.binding() can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding('spawnsync') run arbitrary code, outside of the limits defined in a policy.json file. Please note that at the time this CVE was issued, the policy 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-be-bypassed-via-processbinding-mediumcve-2023-32559

Red Hat

Affected Software

6 affected componentsFixes available
ubuntu/nodejs<12.22.9~dfsg-1ubuntu3.6
12.22.9~dfsg-1ubuntu3.6
ubuntu/nodejs<18.13.0+dfsg1-1ubuntu2.3
18.13.0+dfsg1-1ubuntu2.3
debian/nodejs<=12.22.12~dfsg-1~deb11u4
18.19.0+dfsg-6~deb12u218.19.0+dfsg-6~deb12u120.14.0+dfsg-320.15.0+dfsg-1
Nodejs Node.js>=16.0.0<=16.20.1
Nodejs Node.js>=18.0.0<=18.17.0
Nodejs Node.js>=20.0.0<=20.5.0

Event History

Aug 10, 2023
Data Sourced
via Red Hat·10:06 AM
DescriptionSeverityAffected Software
Aug 24, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·01:23 AM
Data Sourced
via MITRE·01:23 AM
Description
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeaknessAffected Software
Dec 13, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jun 11, 2024
Data Sourced
via Launchpad·04:16 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-32559?

CVE-2023-32559 is a privilege escalation vulnerability that exists in the experimental policy mechanism in Node.js.

2

Which versions of Node.js are affected by CVE-2023-32559?

CVE-2023-32559 affects all active release lines of Node.js: 16.x, 18.x, and 20.x.

3

How does CVE-2023-32559 work?

CVE-2023-32559 can be exploited by using the deprecated API `process.binding()` to bypass the policy mechanism, allowing privilege escalation.

4

What is the severity of CVE-2023-32559?

CVE-2023-32559 has a severity rating of 7.5 (high).

5

How can I fix CVE-2023-32559?

To fix CVE-2023-32559, update your Node.js version to the latest release in the affected release lines: 16.x, 18.x, or 20.x.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203