CVE-2021-41959 Denial of service in n/a
A memory leak in JerryScript's RegExp handling allows attackers to exhaust system memory, causing 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-41959?
CVE-2021-41959 is a high-severity denial of service vulnerability in Jerryscript Jerryscript, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via jerry-core/ecma/operations/ecma-regexp-object.c after RegExp, which causes a memory leak.
Weakness: CWE-401
Which versions are affected by CVE-2021-41959?
It affects 1 product.
Products include Jerryscript Jerryscript.
How do I fix CVE-2021-41959?
No fix has been published for CVE-2021-41959 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-41959 being exploited?
There is no known exploitation of CVE-2021-41959 in the wild and no public exploit code.
Other vulnerabilities in Jerryscript Jerryscript
Sources
Also known as GHSA-cwgv-434w-9fvv, UBUNTU-CVE-2021-41959.