ALAS2-2021-1641
Active ModerateALAS2-2021-1641 (medium): ruby
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 3 records
Shared by all 3 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2021-1641.html| CVE |
|---|
| CVE-2020-10663 |
| CVE-2020-25613 |
| CVE-2021-31799 |
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
Read full publisher description 830 characters
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. (CVE-2020-10663) An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP server bundled with Ruby, had not checked the transfer-encoding header value rigorously. An attacker may potentially exploit this issue to bypass a reverse proxy (which also has a poor header check), which may lead to an HTTP Request Smuggling attack. (CVE-2020-25613)
Solution
Run yum update ruby or yum update --advisory ALAS2-2021-1641 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1ruby
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.2.aarch64
- ruby-devel-2.0.0.648-36.amzn2.0.2.aarch64
- ruby-libs-2.0.0.648-36.amzn2.0.2.aarch64
- rubygem-bigdecimal-1.2.0-36.amzn2.0.2.aarch64
- rubygem-io-console-0.4.2-36.amzn2.0.2.aarch64
- rubygem-json-1.7.7-36.amzn2.0.2.aarch64
- rubygem-psych-2.0.0-36.amzn2.0.2.aarch64
- ruby-tcltk-2.0.0.648-36.amzn2.0.2.aarch64
- ruby-debuginfo-2.0.0.648-36.amzn2.0.2.aarch64
-
2ruby
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.2.i686
- ruby-devel-2.0.0.648-36.amzn2.0.2.i686
- ruby-libs-2.0.0.648-36.amzn2.0.2.i686
- rubygem-bigdecimal-1.2.0-36.amzn2.0.2.i686
- rubygem-io-console-0.4.2-36.amzn2.0.2.i686
- rubygem-json-1.7.7-36.amzn2.0.2.i686
- rubygem-psych-2.0.0-36.amzn2.0.2.i686
- ruby-tcltk-2.0.0.648-36.amzn2.0.2.i686
- ruby-debuginfo-2.0.0.648-36.amzn2.0.2.i686
-
3ruby
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- rubygems-2.0.14.1-36.amzn2.0.2.noarch
- rubygems-devel-2.0.14.1-36.amzn2.0.2.noarch
- rubygem-rake-0.9.6-36.amzn2.0.2.noarch
- ruby-irb-2.0.0.648-36.amzn2.0.2.noarch
- rubygem-rdoc-4.0.0-36.amzn2.0.2.noarch
- ruby-doc-2.0.0.648-36.amzn2.0.2.noarch
- rubygem-minitest-4.3.2-36.amzn2.0.2.noarch
-
4ruby
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.2.src
-
5ruby
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.2.x86_64
- ruby-devel-2.0.0.648-36.amzn2.0.2.x86_64
- ruby-libs-2.0.0.648-36.amzn2.0.2.x86_64
- rubygem-bigdecimal-1.2.0-36.amzn2.0.2.x86_64
- rubygem-io-console-0.4.2-36.amzn2.0.2.x86_64
- rubygem-json-1.7.7-36.amzn2.0.2.x86_64
- rubygem-psych-2.0.0-36.amzn2.0.2.x86_64
- ruby-tcltk-2.0.0.648-36.amzn2.0.2.x86_64
- ruby-debuginfo-2.0.0.648-36.amzn2.0.2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
6- CVE-2020-10663 https://access.redhat.com/security/cve/CVE-2020-10663
- CVE-2020-25613 https://access.redhat.com/security/cve/CVE-2020-25613
- CVE-2021-31799 https://access.redhat.com/security/cve/CVE-2021-31799
- CVE-2020-10663 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10663
- CVE-2020-25613 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25613
- CVE-2021-31799 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31799
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2021-1641.html | Unknown | 71bff89b048289025e0af21102345a293a9969bd5267d08076efa9eb5b670a36 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2021-1641.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2021-1641.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |