Name | CVE-2020-10663 |
Description | The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2190-1, DLA-2192-1, DSA-4721-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-json (PTS) | jessie, jessie (lts) | 1.8.1-1+deb8u1 | fixed |
stretch | 2.0.1+dfsg-3+deb9u1 | fixed | |
buster | 2.1.0+dfsg-2+deb10u1 | fixed | |
bullseye | 2.3.0+dfsg-1 | fixed | |
bookworm | 2.6.3+dfsg-1 | fixed | |
sid, trixie | 2.7.2+dfsg-1 | fixed | |
ruby2.1 (PTS) | jessie, jessie (lts) | 2.1.5-2+deb8u14 | fixed |
ruby2.3 (PTS) | stretch (security) | 2.3.3-1+deb9u11 | fixed |
stretch (lts), stretch | 2.3.3-1+deb9u12 | fixed | |
ruby2.5 (PTS) | buster, buster (lts) | 2.5.5-3+deb10u7 | fixed |
buster (security) | 2.5.5-3+deb10u6 | fixed | |
ruby2.7 (PTS) | bullseye | 2.7.4-1+deb11u1 | fixed |
bullseye (security) | 2.7.4-1+deb11u2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-json | source | wheezy | (unfixed) | end-of-life | ||
ruby-json | source | jessie | 1.8.1-1+deb8u1 | DLA-2190-1 | ||
ruby-json | source | stretch | 2.0.1+dfsg-3+deb9u1 | |||
ruby-json | source | buster | 2.1.0+dfsg-2+deb10u1 | |||
ruby-json | source | (unstable) | 2.3.0+dfsg-1 | |||
ruby2.1 | source | jessie | 2.1.5-2+deb8u10 | DLA-2192-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | |||
ruby2.3 | source | stretch | 2.3.3-1+deb9u8 | |||
ruby2.3 | source | (unstable) | (unfixed) | |||
ruby2.5 | source | buster | 2.5.5-3+deb10u2 | DSA-4721-1 | ||
ruby2.5 | source | (unstable) | (unfixed) | |||
ruby2.7 | source | (unstable) | (not affected) |
- ruby2.7 <not-affected> (Fixed before initial upload to Debian)
https://www.ruby-lang.org/en/news/2020/03/19/json-dos-cve-2020-10663/
https://hackerone.com/reports/706934
https://github.com/ruby/ruby/commit/36e9ed7fef6eb2d14becf6c52452e4ab16e4bf01 (2.6.6)
https://github.com/ruby/ruby/commit/b379ecd8b6832dfcd5dad353b6bfd41701e2d678 (2.5.8)