Buffer overflow in Quickjs-Ng Quickjs
CVE-2024-13903
A vulnerability was found in quickjs-ng QuickJS up to 0.8.0. It has been declared as problematic. Affected by this vulnerability is the function JS_GetRuntime of the file quickjs.c of the component qjs. The manipulation leads to stack-based buffer overflow. The attack can be launched remotely. Upgrading to version 0.9.0 is able to address this issue. The patch is named 99c02eb45170775a9a679c32b45dd4000ea67aff. It is recommended to upgrade the affected component.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.007, 54.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Quickjs-Ng Quickjs — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (JairCodes/critical-threats-modern-systems). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-300571 | quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-300571 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #517394 | QuickJS Project QuickJS master version https://github.com/quickjs-ng/quickjs/commit/74fd4d7dc90f7ebf07e0bb4c7223d1cb98f8ad78 Stack-based Buffer Overflow (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/quickjs-ng/quickjs/issues/775 (issue-tracking, Exploit, Issue Tracking)
- github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff (Patch, patch)
- github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 (Release Notes, patch)