Description
A stack overflow vulnerability in Facebook Hermes 'builtin apply' prior to commit 86543ac47e59c522976b5632b8bf9a2a4583c7d2 (https://github.com/facebook/hermes/commit/86543ac47e59c522976b5632b8bf9a2a4583c7d2) allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://www.facebook.com/security/advisories/cve-2020-1896
Patch, Third Party Advisory x_refsource_confirm
https://github.com/facebook/hermes/commit/86543ac47e59c522976b5632b8bf9a2a4583c7d2
Scores
CVSS v3
9.8
EPSS
0.0242
EPSS Percentile
82.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-121
CWE-787
Status
published
Products (1)
facebook/hermes
< 0.5.0
Published
Feb 02, 2021
Tracked Since
Feb 18, 2026