CVE-2020-6838 Use after free in n/a

Critical 9.8 Published Updated

A use-after-free vulnerability in mruby's hash extension 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-6838?

CVE-2020-6838 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_values_at in mrbgems/mruby-hash-ext/src/hash-ext.c.

Weakness: CWE-416

Which versions are affected by CVE-2020-6838?

It affects 1 product.

Products include Mruby Mruby.

How do I fix CVE-2020-6838?

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

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

Sources

Also known as GHSA-97qv-pm76-mg98, UBUNTU-CVE-2020-6838.

Is CVE-2020-6838 in your software?

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

Check your SBOMs for free