ruby-json — security advisory
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.
- Products
- ruby-json
- Affected versions
- Not specified
- Fixed versions
- 2.3.0+dfsg-1
- CVEs
- CVE-2020-10663
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:53 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-10663
ruby-json
Fixed versions: 2.3.0+dfsg-1
ruby-json
Fixed versions: 2.3.0+dfsg-1
ruby-json
Fixed versions: 2.3.0+dfsg-1
Complete source record
{
"id": "8d7886df8bb326a473fce459563457817289c4f3686710d9305fe5ab5140b361",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-10663",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-10663",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-10663",
"products": [
{
"name": {
"value": "ruby-json",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.0+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-json",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.0+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-json",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.3.0+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-10663",
"aliases": [
"DEBIAN-CVE-2020-10663"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0+dfsg-1"
}
]
}
],
"package": {
"name": "ruby-json",
"purl": "pkg:deb/debian/ruby-json?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-10663.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0+dfsg-1"
}
]
}
],
"package": {
"name": "ruby-json",
"purl": "pkg:deb/debian/ruby-json?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-10663.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0+dfsg-1"
}
]
}
],
"package": {
"name": "ruby-json",
"purl": "pkg:deb/debian/ruby-json?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-10663.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:01:12.742132424Z",
"provider": "osv",
"upstream": [
"CVE-2020-10663"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-10663"
]
},
"related_cves": [
{
"value": "CVE-2020-10663",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451508,
"published_at": "2020-04-28T21:15:11.667+00:00"
}