5.3medium
quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.72% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| quickjs-ng QuickJS | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 and 1 more | CVE List, NVD |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| VulDB | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| VulDB | 4.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| VulDB | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
CVE List (de)
In quickjs-ng QuickJS bis 0.8.0 wurde eine problematische Schwachstelle ausgemacht. Das betrifft die Funktion JS_GetRuntime der Datei quickjs.c der Komponente qjs. Durch das Manipulieren mit unbekannten Daten kann eine stack-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Ein Aktualisieren auf die Version 0.9.0 vermag dieses Problem zu lösen. Der Patch wird als 99c02eb45170775a9a679c32b45dd4000ea67aff bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
NVD (es)
Se encontró una vulnerabilidad en quickjs-ng (QuickJS hasta la versión 0.8.0). Se ha declarado problemática. Esta vulnerabilidad afecta a la función JS_GetRuntime del archivo quickjs.c del componente qjs. La manipulación provoca un desbordamiento del búfer en la pila. El ataque puede ejecutarse remotamente. Actualizar a la versión 0.9.0 puede solucionar este problema. El parche se llama 99c02eb45170775a9a679c32b45dd4000ea67aff. Se recomienda actualizar el componente afectado.
References
| https://vuldb.com/?id.300571 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.300571 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.517394 | exploit, third-party-advisory, vdb-entry | |
| https://github.com/quickjs-ng/quickjs/issues/775 | exploit, issue-tracking | |
| https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff | patch | |
| https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 | patch, release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-13903 changed 2025-03-21 | CVE Terms of Use |
| NVD | CVE-2024-13903 changed 2026-06-17 | Public domain |