CVE-2020-10663Json Project Json
High 7.5 No auth needed
Follow: this CVE · Json Project · Json Project Json We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 6.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Apr 28, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Json.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | json |
< 2.3.0 |
2.3.0 |
gem "json", ">= 2.3.0" |
Per OSV / GitHub Advisories (GHSA-jphg-qwrw-7w9g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| json_project | json | ≤ 2.2.0 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
| opensuse | leap | 15.1 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 10.0 |
| apple | macos | 11.0.1 |
Official advisories
- ruby4.0-rubygem-json_pure-2.7.6-1.5 on GA media · SUSE · openSUSE-SU-2026:10351-1 · Mar 13, 2026 High
- libruby4_0-4_0-4.0.0~preview2-1.1 on GA media · SUSE · openSUSE-SU-2025:15819-1 · Dec 12, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- support.apple.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.ruby-lang.org Vendor Advisory