CVE-2023-35931: Shescape potential environment variable exposure on Windows with CMD

Published Jun 23, 2023
·
Updated

Shescape is a simple shell escape library for JavaScript. An attacker may be able to get read-only access to environment variables. This bug has been patched in version 1.7.1.

Affected Software

1 affected component
Shescape Project Shescape Node.js<1.7.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Shescape to a version that resolves this vulnerability.

    Fixed in 1.7.1

Event History

Jun 23, 2023
CVE Published
via MITRE·07:32 PM
Data Sourced
via MITRE·07:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-35931?

CVE-2023-35931 is a vulnerability in the Shescape library for JavaScript that allows an attacker to gain read-only access to environment variables.

2

What software is affected by CVE-2023-35931?

Shescape library versions up to and excluding 1.7.1 are affected by CVE-2023-35931.

3

How severe is CVE-2023-35931?

CVE-2023-35931 has a severity rating of 4.3, which is medium.

4

How can I fix CVE-2023-35931?

To fix CVE-2023-35931, update your Shescape library to version 1.7.1 or later.

5

Where can I find more information about CVE-2023-35931?

You can find more information about CVE-2023-35931 in the following references: [link1], [link2], [link3].

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