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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| quickjs-ng | QuickJS | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | quickjs | No fix yet | — |
| Debian 13 | quickjs | No fix yet | — |
References
- VDB-300571 | quickjs-ng QuickJS qjs quickjs.c JS_GetRuntime stack-based overflow vdb-entry technical-description
- VDB-300571 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #517394 | QuickJS Project QuickJS master version https://github.com/quickjs-ng/quickjs/commit/74fd4d7dc90f7ebf07e0bb4c7223d1cb98f8ad78 Stack-based Buffer Overflow third-party-advisory
- https://github.com/quickjs-ng/quickjs/issues/775 issue-tracking
- https://github.com/quickjs-ng/quickjs/commit/99c02eb45170775a9a679c32b45dd4000ea67aff patch
- https://github.com/quickjs-ng/quickjs/releases/tag/v0.9.0 patch