8.6
HIGH
CVE-2023-40185
"Shescape Windows Shell Escaping Vulnerability"
Description

shescape is simple shell escape library for JavaScript. This may impact users that use Shescape on Windows in a threaded context. The vulnerability can result in Shescape escaping (or quoting) for the wrong shell, thus allowing attackers to bypass protections depending on the combination of expected and used shell. This bug has been patched in version 1.7.4.

INFO

Published Date :

Aug. 23, 2023, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 8:18 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-40185 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Microsoft windows
1 Shescape_project shescape

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-40185 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-40185 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63
    Added Reference https://github.com/ericcornelissen/shescape/pull/1142
    Added Reference https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4
    Added Reference https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 01, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
    Changed Reference Type https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63 No Types Assigned https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63 Patch
    Changed Reference Type https://github.com/ericcornelissen/shescape/pull/1142 No Types Assigned https://github.com/ericcornelissen/shescape/pull/1142 Patch
    Changed Reference Type https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4 No Types Assigned https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4 Release Notes
    Changed Reference Type https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549 No Types Assigned https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549 Exploit, Patch, Vendor Advisory
    Added CPE Configuration AND OR *cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.7.4 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-40185 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.32 }} -0.06%

score

0.52182

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability