CVE-2021-46170 Use after free in n/a
A use-after-free vulnerability in the JerryScript JavaScript engine allows attackers to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-46170?
CVE-2021-46170 is a high-severity use after free vulnerability in Jerryscript Jerryscript, published on 14 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in JerryScript commit a6ab5e9. There is an Use-After-Free in lexer_compare_identifier_to_string in js-lexer.c file.
Weakness: CWE-416
Which versions are affected by CVE-2021-46170?
It affects 1 product.
Products include Jerryscript Jerryscript.
How do I fix CVE-2021-46170?
No fix has been published for CVE-2021-46170 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-46170 being exploited?
There is no known exploitation of CVE-2021-46170 in the wild and no public exploit code.
Other vulnerabilities in Jerryscript Jerryscript
Sources
Also known as GHSA-q7gg-h9mq-mvc3, UBUNTU-CVE-2021-46170.