CVE-2024-13903 quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow
MediumCVSS 5.3
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/quickjs(Debian 13) | = 2025.04.26-1; All versions | No fix listed | No fix yet |
| debian/quickjs(Debian 14) | = 2025.04.26-1; All versions | No fix listed | No fix yet |
| ubuntu/quickjs(Ubuntu 24.04) | = 2021.03.27-1; All versions | No fix listed | No fix yet |
| ubuntu/quickjs(Ubuntu 24.10) | = 2021.03.27-1; = 2024.01.13-4; = 2024.01.13-5; All versions | No fix listed | No fix yet |
| quickjs-ng quickjs | < 0.9.0; = 0.1; = 0.2; = 0.3 +5 more | 0.9.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/quickjs(Debian:13) | All versions | No fix listed |
| debian/quickjs(Debian:13) | = 2025.04.26-1 | No fix listed |
| debian/quickjs(Debian:14) | All versions | No fix listed |
| debian/quickjs(Debian:14) | = 2025.04.26-1 | No fix listed |
| quickjs-ng quickjs | = 0.1 | No fix listed |
| quickjs-ng quickjs | = 0.2 | No fix listed |
| quickjs-ng quickjs | = 0.3 | No fix listed |
| quickjs-ng quickjs | = 0.4 | No fix listed |
| quickjs-ng quickjs | = 0.5 | No fix listed |
| quickjs-ng quickjs | = 0.6 | No fix listed |
| quickjs-ng quickjs | = 0.7 | No fix listed |
| quickjs-ng quickjs | = 0.8 | No fix listed |
| quickjs-ng quickjs | < 0.9.0 | 0.9.0 |
| ubuntu/quickjs(Ubuntu:24.10) | All versions | No fix listed |
| ubuntu/quickjs(Ubuntu:24.10) | = 2021.03.27-1 | No fix listed |
| ubuntu/quickjs(Ubuntu:24.10) | = 2024.01.13-4 | No fix listed |
| ubuntu/quickjs(Ubuntu:24.10) | = 2024.01.13-5 | No fix listed |
| ubuntu/quickjs(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/quickjs(Ubuntu:24.04) | = 2021.03.27-1 | No fix listed |
References
- Debian Security Tracker CVE-2024-13903 vendor-advisory
- VDB-300571 | quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow issue-tracking technical-description third-party-advisory vdb-entry
- VDB-300571 | CTI Indicators (IOB, IOC, IOA) issue-tracking permissions-required signature vdb-entry
- Submit #517394 | QuickJS Project QuickJS master version https://github.com/quickjs-ng/quickjs/commit/74fd4d7dc90f7ebf07e0bb4c7223d1cb98f8ad78 Stack-based Buffer Overflow exploit issue-tracking third-party-advisory vdb-entry
- github.com exploit issue-tracking
- github.com issue-tracking patch
- github.com issue-tracking patch release-notes
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking