CVE-2021-4327 json
SerenityOS TypedArray.cpp initialize_typed_array_from_array_buffer integer overflow
published 2023-03-01 3 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34155
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- devcraft.io https://devcraft.io/2021/02/11/serenityos-writing-a-full-chain-exploit.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.0 | 5.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 2.0 | 5.2 | AV:A/AC:L/Au:S/C:P/I:P/A:P |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a SerenityOS
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/SerenityOS/serenity/commit/f6c6047e49f1517778f5565681fb64750b14bf60
patch
-
devcraft.io
/2021/02/11/serenityos-writing-a-full-chain-exploit.html
exploit, third-party-advisory
-
vuldb.com
/?id.222074
vdb-entry, technical-description, permissions-required, third-party-advisory
-
vuldb.com
/?ctiid.222074
signature, permissions-required, third-party-advisory
Sources
- CVE List CVE-2021-4327
- NVD CVE-2021-4327
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.