Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| lxsmnsyc | seroval | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Lxsmnsyc | Seroval |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jp82-f5mq-hwhp | Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.426% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Lxsmnsyc
Lxsmnsyc seroval |
|
| Vendors & Products |
Lxsmnsyc
Lxsmnsyc seroval |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.3, deserializeTypedArray in fromJSON and fromCrossJSON trusts a deserialized source value as an ArrayBuffer and does not bound the serialized element count. An attacker can provide a small untrusted JSON object with a large length value, causing the array-like TypedArray constructor to synchronously allocate the selected number of elements and exhaust CPU or memory while starving the event loop. The offset check does not reject the crafted source because source.byteLength is undefined. DataView reaches a similar unchecked cast but throws rather than allocating, and the issue has no identified confidentiality or integrity impact. This issue is fixed in version 1.6.3. | |
| Title | Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|