#VU34253 Buffer overflow in JerryScript


Published: 2020-06-15 | Updated: 2020-08-08

Vulnerability identifier: #VU34253

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-14163

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
JerryScript
Web applications / JS libraries

Vendor: JerryScript

Description

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

JerryScript: 2.2.0


External links
http://github.com/jerryscript-project/jerryscript/issues/3804
http://github.com/jerryscript-project/jerryscript/pull/3805/commits/9d76c134c24cfb92ec079ce4298f8eff51a50416


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability