CVE-2020-10663 Unsafe object creation in json RubyGem
HighCVSS 7.5
EPSS 6.8%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- UbuntuDebian
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.
Upgrade path
30 packages: 23 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ruby-json(Ubuntu 14.04) | = 1.8.0-1; = 1.8.0-1build1; All versions | No fix listed | No fix yet |
| ubuntu/ruby-json(Ubuntu 16.04) | = 1.8.3-1build1; = 1.8.3-1build2; = 1.8.3-1build4; All versions | No fix listed | No fix yet |
| ubuntu/ruby-json(Ubuntu 18.04) | = 2.1.0+dfsg-1; = 2.1.0+dfsg-1ubuntu2; = 2.1.0+dfsg-1ubuntu3; = 2.1.0+dfsg-2 +1 more | No fix listed | No fix yet |
| alpine/ruby(Alpine v3.10) | < 2.5.8-r0 | 2.5.8-r0 | Fixed |
| alpine/ruby(Alpine v3.11) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.12) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.13) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.14) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.15) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.16) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.17) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.18) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.19) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.20) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.21) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.22) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.23) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.24) | < 2.6.6-r0 | 2.6.6-r0 | Fixed |
| alpine/ruby(Alpine v3.7) | < 2.4.10-r0 | 2.4.10-r0 | Fixed |
| debian/ruby-json(Debian 12) | < 2.3.0+dfsg-1 | 2.3.0+dfsg-1 | Fixed |
| debian/ruby-json(Debian 13) | < 2.3.0+dfsg-1 | 2.3.0+dfsg-1 | Fixed |
| debian/ruby-json(Debian 14) | < 2.3.0+dfsg-1 | 2.3.0+dfsg-1 | Fixed |
| json project json | <= 2.2.0 | after 2.2.0 | Fixed |
| rubygems json(RubyGems) | < 2.3.0; = 0.4.0; = 0.4.1; = 0.4.2 +65 more | 2.3.0 | Fixed |
| ubuntu/ruby2.3(Ubuntu 16.04) | < 2.3.1-2~ubuntu16.04.15; = 2.3.0-1; = 2.3.0-2; = 2.3.0-4ubuntu2 +14 more | 2.3.1-2~ubuntu16.04.15 | Fixed |
| ubuntu/ruby2.5(Ubuntu 18.04) | < 2.5.1-1ubuntu1.8; = 2.5.0-4ubuntu1; = 2.5.0-4ubuntu4; = 2.5.0-5ubuntu1 +9 more | 2.5.1-1ubuntu1.8 | Fixed |
| apple macos | = 11.0.1 | No fix listed | Versions listed |
| debian linux | = 8.0; = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 30; = 31 | No fix listed | Versions listed |
| openSUSE leap | = 15.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems json(RubyGems) | < 2.3.0 | 2.3.0 |
| rubygems json(RubyGems) | = 0.4.0 | No fix listed |
| rubygems json(RubyGems) | = 0.4.1 | No fix listed |
| rubygems json(RubyGems) | = 0.4.2 | No fix listed |
| rubygems json(RubyGems) | = 0.4.3 | No fix listed |
| rubygems json(RubyGems) | = 1.0.0 | No fix listed |
| rubygems json(RubyGems) | = 1.0.1 | No fix listed |
| rubygems json(RubyGems) | = 1.0.2 | No fix listed |
| rubygems json(RubyGems) | = 1.0.3 | No fix listed |
| rubygems json(RubyGems) | = 1.0.4 | No fix listed |
| rubygems json(RubyGems) | = 1.1.0 | No fix listed |
| rubygems json(RubyGems) | = 1.1.1 | No fix listed |
| rubygems json(RubyGems) | = 1.1.2 | No fix listed |
| rubygems json(RubyGems) | = 1.1.3 | No fix listed |
| rubygems json(RubyGems) | = 1.1.4 | No fix listed |
| rubygems json(RubyGems) | = 1.1.5 | No fix listed |
| rubygems json(RubyGems) | = 1.1.6 | No fix listed |
| rubygems json(RubyGems) | = 1.1.7 | No fix listed |
| rubygems json(RubyGems) | = 1.1.8 | No fix listed |
| rubygems json(RubyGems) | = 1.1.9 | No fix listed |
| rubygems json(RubyGems) | = 1.2.0 | No fix listed |
| rubygems json(RubyGems) | = 1.2.1 | No fix listed |
| rubygems json(RubyGems) | = 1.2.2 | No fix listed |
| rubygems json(RubyGems) | = 1.2.3 | No fix listed |
| rubygems json(RubyGems) | = 1.2.4 | No fix listed |
Show 113 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems json(RubyGems) | = 1.4.0 | No fix listed |
| rubygems json(RubyGems) | = 1.4.1 | No fix listed |
| rubygems json(RubyGems) | = 1.4.2 | No fix listed |
| rubygems json(RubyGems) | = 1.4.3 | No fix listed |
| rubygems json(RubyGems) | = 1.4.4 | No fix listed |
| rubygems json(RubyGems) | = 1.4.5 | No fix listed |
| rubygems json(RubyGems) | = 1.4.6 | No fix listed |
| rubygems json(RubyGems) | = 1.5.0 | No fix listed |
| rubygems json(RubyGems) | = 1.5.1 | No fix listed |
| rubygems json(RubyGems) | = 1.5.2 | No fix listed |
| rubygems json(RubyGems) | = 1.5.3 | No fix listed |
| rubygems json(RubyGems) | = 1.5.4 | No fix listed |
| rubygems json(RubyGems) | = 1.5.5 | No fix listed |
| rubygems json(RubyGems) | = 1.6.0 | No fix listed |
| rubygems json(RubyGems) | = 1.6.0.1 | No fix listed |
| rubygems json(RubyGems) | = 1.6.1 | No fix listed |
| rubygems json(RubyGems) | = 1.6.2 | No fix listed |
| rubygems json(RubyGems) | = 1.6.3 | No fix listed |
| rubygems json(RubyGems) | = 1.6.4 | No fix listed |
| rubygems json(RubyGems) | = 1.6.5 | No fix listed |
| rubygems json(RubyGems) | = 1.6.6 | No fix listed |
| rubygems json(RubyGems) | = 1.6.7 | No fix listed |
| rubygems json(RubyGems) | = 1.6.8 | No fix listed |
| rubygems json(RubyGems) | = 1.7.0 | No fix listed |
| rubygems json(RubyGems) | = 1.7.1 | No fix listed |
| rubygems json(RubyGems) | = 1.7.2 | No fix listed |
| rubygems json(RubyGems) | = 1.7.3 | No fix listed |
| rubygems json(RubyGems) | = 1.7.4 | No fix listed |
| rubygems json(RubyGems) | = 1.7.5 | No fix listed |
| rubygems json(RubyGems) | = 1.7.6 | No fix listed |
| rubygems json(RubyGems) | = 1.7.7 | No fix listed |
| rubygems json(RubyGems) | = 1.8.0 | No fix listed |
| rubygems json(RubyGems) | = 1.8.1 | No fix listed |
| rubygems json(RubyGems) | = 1.8.2 | No fix listed |
| rubygems json(RubyGems) | = 1.8.3 | No fix listed |
| rubygems json(RubyGems) | = 1.8.5 | No fix listed |
| rubygems json(RubyGems) | = 1.8.6 | No fix listed |
| rubygems json(RubyGems) | = 2.0.0 | No fix listed |
| rubygems json(RubyGems) | = 2.0.1 | No fix listed |
| rubygems json(RubyGems) | = 2.0.2 | No fix listed |
| rubygems json(RubyGems) | = 2.0.3 | No fix listed |
| rubygems json(RubyGems) | = 2.0.4 | No fix listed |
| rubygems json(RubyGems) | = 2.1.0 | No fix listed |
| rubygems json(RubyGems) | = 2.2.0 | No fix listed |
| debian/ruby-json(Debian:12) | < 2.3.0+dfsg-1 | 2.3.0+dfsg-1 |
| debian/ruby-json(Debian:13) | < 2.3.0+dfsg-1 | 2.3.0+dfsg-1 |
| debian/ruby-json(Debian:14) | < 2.3.0+dfsg-1 | 2.3.0+dfsg-1 |
| json project json | <= 2.2.0 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| apple macos | = 11.0.1 | No fix listed |
| alpine/ruby(Alpine:v3.10) | < 2.5.8-r0 | 2.5.8-r0 |
| alpine/ruby(Alpine:v3.11) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.12) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.13) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.14) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.15) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.16) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.17) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.18) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.19) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.20) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.21) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.22) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.23) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.24) | < 2.6.6-r0 | 2.6.6-r0 |
| alpine/ruby(Alpine:v3.7) | < 2.4.10-r0 | 2.4.10-r0 |
| ubuntu/ruby-json(Ubuntu:14.04) | All versions | No fix listed |
| ubuntu/ruby-json(Ubuntu:14.04) | = 1.8.0-1 | No fix listed |
| ubuntu/ruby-json(Ubuntu:14.04) | = 1.8.0-1build1 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | < 2.3.1-2~ubuntu16.04.15 | 2.3.1-2~ubuntu16.04.15 |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.0-1 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.0-2 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.0-4ubuntu2 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.0-4ubuntu3 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.0-5ubuntu1 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.2 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.4 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.5 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.6 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.7 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.9 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.10 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.11 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~16.04.12 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~ubuntu16.04.13 | No fix listed |
| ubuntu/ruby2.3(Ubuntu:16.04) | = 2.3.1-2~ubuntu16.04.14 | No fix listed |
| ubuntu/ruby-json(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/ruby-json(Ubuntu:16.04) | = 1.8.3-1build1 | No fix listed |
| ubuntu/ruby-json(Ubuntu:16.04) | = 1.8.3-1build2 | No fix listed |
| ubuntu/ruby-json(Ubuntu:16.04) | = 1.8.3-1build4 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | < 2.5.1-1ubuntu1.8 | 2.5.1-1ubuntu1.8 |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.0~preview1-1ubuntu2 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.0-4ubuntu1 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.0-4ubuntu4 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.0-5ubuntu1 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.0-6ubuntu1 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1.1 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1.2 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1.4 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1.5 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1.6 | No fix listed |
| ubuntu/ruby2.5(Ubuntu:18.04) | = 2.5.1-1ubuntu1.7 | No fix listed |
| ubuntu/ruby-json(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/ruby-json(Ubuntu:18.04) | = 2.1.0+dfsg-1 | No fix listed |
| ubuntu/ruby-json(Ubuntu:18.04) | = 2.1.0+dfsg-1ubuntu2 | No fix listed |
| ubuntu/ruby-json(Ubuntu:18.04) | = 2.1.0+dfsg-1ubuntu3 | No fix listed |
| ubuntu/ruby-json(Ubuntu:18.04) | = 2.1.0+dfsg-2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com exploit
- [debian-lts-announce] 20200430 [SECURITY] [DLA 2192-1] ruby2.1 security update mailing-list third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- DSA-4721 third-party-advisory vendor-advisory
- www.ruby-lang.org issue-tracking vendor-advisory
- openSUSE-SU-2020:0586 mailing-list third-party-advisory vendor-advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- support.apple.com third-party-advisory
- 20201215 APPLE-SA-2020-12-14-4 Additional information for APPLE-SA-2020-11-13-1 macOS Big Sur 11.0.1 mailing-list third-party-advisory
- security.netapp.com third-party-advisory
- lists.apache.org
- lists.apache.org
- github.com
- github.com product
- Debian Security Tracker CVE-2020-10663 vendor-advisory
- [zookeeper-issues] 20210404 [jira] [Updated] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20210404 [jira] [Assigned] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20200930 [jira] [Issue Comment Deleted] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-dev] 20200913 [jira] [Created] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20200930 [jira] [Comment Edited] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20200930 [jira] [Commented] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20200913 [jira] [Created] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20210106 [jira] [Updated] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- [zookeeper-issues] 20200913 [jira] [Resolved] (ZOOKEEPER-3933) owasp failing with json-simple-1.1.1.jar: CVE-2020-10663, CVE-2020-7712 mailing-list
- FEDORA-2020-26df92331a vendor-advisory
- FEDORA-2020-a95706b117 vendor-advisory
- FEDORA-2020-d171bf636d vendor-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- hackerone.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking