Description
An issue was discovered in ecma/operations/ecma-container-object.c in JerryScript 2.2.0. Operations with key/value pairs did not consider the case where garbage collection is triggered after the key operation but before the value operation, as demonstrated by improper read access to memory in ecma_gc_set_object_visited in ecma/base/ecma-gc.c.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://github.com/jerryscript-project/jerryscript/issues/3804
Patch, Vendor Advisory x_refsource_misc
https://github.com/jerryscript-project/jerryscript/commit/c2b662170245a16f46ce02eae68815c325d99821
Scores
CVSS v3
7.5
EPSS
0.0040
EPSS Percentile
60.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-125
Status
published
Products (1)
jerryscript/jerryscript
2.2.0
Published
Jun 15, 2020
Tracked Since
Feb 18, 2026