CVE-2020-6840 Use after free in n/a
A use-after-free vulnerability in mruby's hash_slice function 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-2020-6840?
CVE-2020-6840 is a critical use after free vulnerability in n/a, published on 11 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c.
Weakness: CWE-416
Which versions are affected by CVE-2020-6840?
It affects 1 product.
Products include Mruby Mruby.
How do I fix CVE-2020-6840?
No fix has been published for CVE-2020-6840 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-2020-6840 being exploited?
There is no known exploitation of CVE-2020-6840 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4v2f-5xhv-8ff4, UBUNTU-CVE-2020-6840.