Name | CVE-2020-6840 |
Description | In mruby 2.1.0, there is a use-after-free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mruby (PTS) | jessie | 1.0.0+20141015+gitb4cc962c-1 | fixed |
| stretch (security), stretch (lts), stretch | 1.2.0+20161228+git30d5424a-1+deb9u1 | fixed |
| buster | 2.0.0-1 | fixed |
| bullseye | 2.1.2-3 | fixed |
| bookworm | 3.1.0-3 | fixed |
| sid, trixie | 3.3.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mruby | source | (unstable) | (not affected) | | | |
Notes
- mruby <not-affected> (Vulnerable code introduced later)
https://github.com/mruby/mruby/issues/4927
Introduced by: https://github.com/mruby/mruby/commit/694089fafe4eae36c379a3d918d540eb0c4b8661
Fixed by: https://github.com/mruby/mruby/commit/fc8fb41451b07b3fda0726ba80e88e509ad02452