PT-2020-2440

CVE-2020-10663

·

Published

2020-03-19

·

Updated

2026-11-30

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions JSON gem versions 2.2.0 and earlier Ruby versions 2.4 through 2.4.9 Ruby versions 2.5 through 2.5.7 Ruby versions 2.6 through 2.6.5
Description The JSON gem for Ruby has an Unsafe Object Creation issue due to insufficient input validation. This can lead to the creation of a malicious object within the interpreter when using JSON parsing methods, resulting in application-dependent adverse effects. The issue is similar to a previously known vulnerability but does not rely on poor garbage collection behavior within Ruby.
Recommendations For JSON gem version 2.2.0 and earlier, update to a version with improved checks. For Ruby versions 2.4 through 2.4.9, consider updating to a version with the improved JSON gem. For Ruby versions 2.5 through 2.5.7, consider updating to a version with the improved JSON gem. For Ruby versions 2.6 through 2.6.5, consider updating to a version with the improved JSON gem.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-JPHG-QWRW-7W9G
ALSA-2021:2587
ALSA-2021:2588
ALSA-2025_16880
CESA-2020_2462
CESA-2021_2587
CESA-2021_2588
CLEANSTART-2026-KP74073
CLEANSTART-2026-ZF36625
DLA-2190-1
DLA-2192-1
DSA-4721-1
MGASA-2020-0186
OPENSUSE-SU-2020:0586-1
OPENSUSE-SU-2020_0586-1
OPENSUSE-SU-2024:11310-1
OPENSUSE-SU-2024:11311-1
OPENSUSE-SU-2024:11335-1
OPENSUSE-SU-2024:11786-1
OPENSUSE-SU-2024:11829-1
OPENSUSE-SU-2024:12712-1
OPENSUSE-SU-2024:13160-1
OPENSUSE-SU-2024:13623-1
OPENSUSE-SU-2024:13719-1
OPENSUSE-SU-2025:14621-1
OPENSUSE-SU-2025:15118-1
OPENSUSE-SU-2025:15819-1
OPENSUSE-SU-2026:10351-1
RHSA-2020:2462
RHSA-2020_2462
RHSA-2020:2473
RHSA-2020:2670
RHSA-2021:2104
RHSA-2021:2230
RHSA-2021:2587
RHSA-2021_2587
RHSA-2021:2588
RHSA-2021_2588
RHSA-2022:0581
RHSA-2022:0582
RLSA-2021:2587
RLSA-2021:2588
SUSE-RU-2020:2072-1
SUSE-SU-2020:0995-1
SUSE-SU-2020:1570-1
SUSE-SU-2020_1570-1
SUSE-SU-2020:1901-1
USN-4882-1
USN-9267-1
Found an issue in the description? Have something to add? Feel free to write us 👾