5.5medium
SerenityOS TypedArray.cpp initialize_typed_array_from_array_buffer integer overflow
- Severity
- 5.5medium CVSS:3.1 by VulDB
- Exploit likelihood
- 0.93% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability was found in SerenityOS. It has been rated as critical. Affected by this issue is the function initialize_typed_array_from_array_buffer in the library Userland/Libraries/LibJS/Runtime/TypedArray.cpp. The manipulation leads to integer overflow. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The patch is identified as f6c6047e49f1517778f5565681fb64750b14bf60. It is recommended to apply a patch to fix this issue. VDB-222074 is the identifier assigned to this vulnerability.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SerenityOS | n/a | CVE List |
| serenityos serenityos | before 2021-01-27 | NVD |
All scores
| VulDB | 5.5medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 5.5medium CVSS:3.0 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 5.2medium CVSS:2.0 | AV:A/AC:L/Au:S/C:P/I:P/A:P |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
A vulnerability was found in SerenityOS. It has been rated as critical. Affected by this issue is the function initialize_typed_array_from_array_buffer in the library Userland/Libraries/LibJS/Runtime/TypedArray.cpp. The manipulation leads to integer overflow. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The patch is identified as f6c6047e49f1517778f5565681fb64750b14bf60. It is recommended to apply a patch to fix this issue. VDB-222074 is the identifier assigned to this vulnerability.
CVE List (de)
Eine kritische Schwachstelle wurde in SerenityOS ausgemacht. Hierbei geht es um die Funktion initialize_typed_array_from_array_buffer in der Bibliothek Userland/Libraries/LibJS/Runtime/TypedArray.cpp. Mittels Manipulieren mit unbekannten Daten kann eine integer overflow-Schwachstelle ausgenutzt werden. Der Exploit steht zur öffentlichen Verfügung. Dieses Produkt verzichtet auf eine Versionierung und verwendet stattdessen Rolling Releases. Deshalb sind keine Details zu betroffenen oder zu aktualisierende Versionen vorhanden. Der Patch wird als f6c6047e49f1517778f5565681fb64750b14bf60 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
References
| https://vuldb.com/?id.222074 | permissions-required, technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.222074 | permissions-required, signature, third-party-advisory | |
| https://devcraft.io/2021/02/11/serenityos-writing-a-full-chain-exploit.html | exploit, third-party-advisory | |
| https://github.com/SerenityOS/serenity/commit/f6c6047e49f1517778f5565681fb64750b14bf60 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-4327 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-4327 changed 2026-06-17 | Public domain |