Input validation error in Ruby - CVE-2020-10663
Published: April 28, 2020 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to manipulate data.
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.
Affected software
Amazon Linux AMI
Debian Linux
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Opensuse
Ubuntu
Fedora
Red Hat Software Collections
EMC Integrated Data Protection Appliance
ruby (Alpine package)
rh-ruby25-ruby (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
pcs (Red Hat package)
rubygem-json
libruby2.3 (Ubuntu package)
ruby2.3 (Ubuntu package)
libruby2.5 (Ubuntu package)
ruby2.5 (Ubuntu package)
ruby2.5 (Debian package)
ruby
rh-ruby26-ruby (Red Hat package)
ruby2.7 (Ubuntu package)
libruby2.7 (Ubuntu package)
IBM Cloud Foundry Migration Runtime
DataStage on Cloud Pak for Data
IBM Cloud Pak for Watson AIOps
Dell EMC Data Protection Search
IBM Sterling Global Mailbox (GM)
How to mitigate CVE-2020-10663
EMC Integrated Data Protection Appliance - update to 2.7.1
rh-ruby25-ruby (Red Hat package) - update to 2.5.9-9.el7
IBM Cloud Foundry Migration Runtime - update to 4.1.2
DataStage on Cloud Pak for Data - update to 4.8.5
Dell EMC Data Protection Search - update to 19.6.0
pcs (Red Hat package) - addressed in versions 0.10.1-4.el8_0.5, 0.10.2-4.el8_1.1, 0.10.4-6.el8_2.1
rubygem-json - addressed in versions 2.2.0-202.fc30, 2.2.0-202.fc31
libruby2.3 (Ubuntu package) - update to 2.3.1-2~ubuntu16.04.15
ruby2.3 (Ubuntu package) - update to 2.3.1-2~ubuntu16.04.15
libruby2.5 (Ubuntu package) - update to 2.5.1-1ubuntu1.8
ruby2.5 (Ubuntu package) - update to 2.5.1-1ubuntu1.8
ruby2.5 (Debian package) - update to 2.5.5-3+deb10u2
ruby - update to 2.6.6-125.fc31
rh-ruby26-ruby (Red Hat package) - update to 2.6.7-119.el7
ruby2.7 (Ubuntu package) - addressed in versions 2.7.0-5ubuntu1.3, 2.7.1-3ubuntu1.2
libruby2.7 (Ubuntu package) - addressed in versions 2.7.0-5ubuntu1.3, 2.7.1-3ubuntu1.2
IBM Cloud Pak for Watson AIOps - update to 3.6.1
IBM Sterling Global Mailbox (GM) - update to 6.1.2.1
External References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00004.html
- https://lists.debian.org/debian-lts-announce/2020/04/msg00030.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7QL6MJD2BO4IRJ5CJFNMCDYMQQFT24BJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F4TNVTT66VPRMX5UZYSDGSVRXKKDDDU5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NK2PBXWMFRUD7U7Q7LHV4KYLYID77RI4/
- https://www.debian.org/security/2020/dsa-4721
- https://www.ruby-lang.org/en/news/2020/03/19/json-dos-cve-2020-10663/
Related Security Bulletins
- Input validation error in Ruby
- OpenSUSE Linux update for ruby2.5
- Amazon Linux AMI update for ruby20
- Input validation error in ruby (Alpine package)
- Amazon Linux AMI update for ruby19, ruby21
- Amazon Linux AMI update for rubygem-json
- Amazon Linux AMI update for ruby24
- Red Hat Software Collections update for rh-ruby25-ruby
- Red Hat Software Collections update for rh-ruby26-ruby
- Red Hat Enterprise Linux 8 update for the ruby:2.5 module
- Red Hat Enterprise Linux 8 update for the ruby:2.6 module
- Red Hat Enterprise Linux 8.1 update for the ruby:2.6 module
- Red Hat Enterprise Linux 8.2 update for the ruby:2.6 module
- Multiple vulnerabilities in Dell EMC Integrated Data Protection Appliance
- Multiple vulnerabilities in Dell EMC Data Protection Search
- Ubuntu update for ruby2.3
- Debian update for ruby2.5
- Multiple vulnerabilities in IBM Cloud Foundry Migration Runtime
- Input validation error in IBM Sterling Global Mailbox
- Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions update for pcs
- Red Hat Enterprise Linux 8 update for pcs
- Red Hat Enterprise Linux 8.1 Extended Update Support update for pcs
- Multiple vulnerabilities in IBM Cloud Pak for Watson AIOps
- Multiple vulnerabilities in IBM DataStage on Cloud Pak for Data
- Fedora 31 update for rubygem-json
- Fedora 30 update for rubygem-json
- Fedora 31 update for ruby