Use After Free in Mruby

CVE-2020-6840

In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c.

Vulnerability class: Use-After-Free

EPSS: 0.015 (71.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Mruby — versions 2.1.0
  • N/a — versions n/a

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2020-6840?
CVE-2020-6840 is a critical-severity vulnerability in Mruby, classified under Use After Free. CVSS score: 9.8/10. Published 2020-01-11.
How severe is CVE-2020-6840?
Critical severity. CVSS v3 base score is 9.8 out of 10.