Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2021-1641

Active Moderate

ALAS2-2021-1641 (medium): ruby

Published
24 May 2021
Updated
17 Feb 2023

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
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.

5

Shared package data

Applies to all 5 occurrences
  1. 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
  2. 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
  3. 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
  4. 4ruby

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ruby-2.0.0.648-36.amzn2.0.2.src
  5. 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.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2020-10663 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-10663
  • CVE-2020-25613 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-25613
  • CVE-2021-31799 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-31799
  • CVE-2020-10663 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10663
  • CVE-2020-25613 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25613
  • CVE-2021-31799 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31799

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2021-1641.htmlUnknown71bff89b048289025e0af21102345a293a9969bd5267d08076efa9eb5b670a36amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2021-1641.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2021-1641.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected