CVE-2021-41682 Use after free in n/a

High 7.8 Published Updated

A heap-use-after-free in JerryScript allows attackers to execute arbitrary code or cause a denial of service via crafted JavaScript.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-41682?

CVE-2021-41682 is a high-severity use after free vulnerability in Jerryscript Jerryscript, published on 20 Jun 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

There is a heap-use-after-free at ecma-helpers-string.c:1940 in ecma_compare_ecma_non_direct_strings in JerryScript 2.4.0

Weakness: CWE-416

Which versions are affected by CVE-2021-41682?

It affects 1 product.

Products include Jerryscript Jerryscript.

How do I fix CVE-2021-41682?

No fix has been published for CVE-2021-41682 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-41682 being exploited?

There is no known exploitation of CVE-2021-41682 in the wild and no public exploit code.

All Jerryscript Jerryscript vulnerabilities

Sources

Also known as GHSA-hwj8-33pv-37r3, UBUNTU-CVE-2021-41682.

Is CVE-2021-41682 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free