|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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)|
Vulnerable and fixed packages
The table below lists information on source packages.
|ruby2.3 (PTS)||stretch (security), stretch||2.3.3-1+deb9u7||vulnerable|
|ruby2.5 (PTS)||buster, buster (security)||2.5.5-3+deb10u1||vulnerable|
|ruby2.7 (PTS)||bullseye, sid||2.7.1-3||fixed|
The information below is based on the following data on fixed versions.
[buster] - ruby-json <no-dsa> (Minor issue)
[stretch] - ruby-json <no-dsa> (Minor issue)
- ruby2.7 <not-affected> (Fixed before initial upload to Debian)
[buster] - ruby2.5 <no-dsa> (Minor issue)
[stretch] - ruby2.3 <no-dsa> (Minor issue)