9.8
CRITICAL
CVE-2023-50044
Cesanta MJS Foreign Type Confusion Out-of-Bounds Read Vulnerability
Description

Cesanta MJS 2.20.0 has a getprop_builtin_foreign out-of-bounds read if a Built-in API name occurs in a substring of an input string.

INFO

Published Date :

Dec. 20, 2023, 9:15 a.m.

Last Modified :

Dec. 29, 2023, 12:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-50044 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-50044 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 Cesanta mjs
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-50044.

URL Resource
https://github.com/cesanta/mjs/issues/254 Exploit Issue Tracking
https://github.com/cesanta/mjs/pull/255 Patch

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).

None

Updated: 5 months, 3 weeks ago
0 stars 1 fork 1 watcher
Born at : July 19, 2022, 8:58 a.m. This repo has been linked 3 different CVEs too.

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-50044 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-50044 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 29, 2023

    Action Type Old Value New Value
    Changed Description Buffer Overflow vulnerability in Cesanta MJS version 2.22.0, allows attackers to execute arbitrary code, cause a denial of service (Dos), and obtain sensitive information via segmentation fault can occur in getprop_builtin_foreign when input string includes a name of Built-in APIs. Cesanta MJS 2.20.0 has a getprop_builtin_foreign out-of-bounds read if a Built-in API name occurs in a substring of an input string.
  • Initial Analysis by [email protected]

    Dec. 28, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/cesanta/mjs/issues/254 No Types Assigned https://github.com/cesanta/mjs/issues/254 Exploit, Issue Tracking
    Changed Reference Type https://github.com/cesanta/mjs/pull/255 No Types Assigned https://github.com/cesanta/mjs/pull/255 Patch
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:cesanta:mjs:2.22.0:*:*:*:*:*:*:*
  • CVE Received by [email protected]

    Dec. 20, 2023

    Action Type Old Value New Value
    Added Description Buffer Overflow vulnerability in Cesanta MJS version 2.22.0, allows attackers to execute arbitrary code, cause a denial of service (Dos), and obtain sensitive information via segmentation fault can occur in getprop_builtin_foreign when input string includes a name of Built-in APIs.
    Added Reference MITRE https://github.com/cesanta/mjs/issues/254 [No types assigned]
    Added Reference MITRE https://github.com/cesanta/mjs/pull/255 [No types assigned]
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-50044 is associated with the following CWEs:

Exploit Prediction

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

0.08 }} -0.00%

score

0.37133

percentile

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