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

ALAS2RUBY2.6-2023-007

Active Important

ALAS2RUBY2.6-2023-007 (important): ruby

Published
25 Sep 2023
Updated
25 Sep 2023

Related CVEs

CVE identifiers linked by this publisher.

8
Publisher relationship details 8 records

Description

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a

Read full publisher description 2919 characters

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common. (CVE-2012-6708) jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType option, causing text/javascript responses to be executed. (CVE-2015-9251) A flaw was discovered in Ruby in the way certain functions handled strings containing NULL bytes. Specifically, the built-in methods File.fnmatch and its alias File.fnmatch? did not properly handle path patterns containing the NULL byte. A remote attacker could exploit this flaw to make a Ruby script access unexpected files and to bypass intended file system access restrictions. (CVE-2019-15845) WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 has a regular expression Denial of Service cause by looping/backtracking. A victim must expose a WEBrick server that uses DigestAuth to the Internet or a untrusted network. (CVE-2019-16201) Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting. If a program using WEBrick inserts untrusted input into the response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. NOTE: this issue exists because of an incomplete fix for CVE-2017-17742, which addressed the CRLF vector, but did not address an isolated CR or an isolated LF. (CVE-2019-16254) Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method. (CVE-2019-16255) A flaw was found in rubygem-json. While parsing certain JSON documents, the json gem (including the one bundled with Ruby) can be coerced into creating arbitrary objects in the target system. This is the same issue as CVE-2013-0269. (CVE-2020-10663) An issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through 2.6.5, and 2.7.0. If a victim calls BasicSocket#read_nonblock(requested_size, buffer, exception: false), the method resizes the buffer to fit the requested size, but no data is copied. Thus, the buffer string provides the previous value of the heap. This may expose possibly sensitive data from the interpreter. (CVE-2020-10933)

Solution

Run yum update ruby or yum update --advisory ALAS2RUBY2.6-2023-007 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.6.6-125.amzn2.0.2.aarch64
    • ruby-devel-2.6.6-125.amzn2.0.2.aarch64
    • ruby-libs-2.6.6-125.amzn2.0.2.aarch64
    • rubygem-bigdecimal-1.4.1-125.amzn2.0.2.aarch64
    • rubygem-io-console-0.4.7-125.amzn2.0.2.aarch64
    • rubygem-json-2.1.0-125.amzn2.0.2.aarch64
    • rubygem-openssl-2.1.2-125.amzn2.0.2.aarch64
    • rubygem-psych-3.1.0-125.amzn2.0.2.aarch64
    • ruby-debuginfo-2.6.6-125.amzn2.0.2.aarch64
  2. 2ruby

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • ruby-2.6.6-125.amzn2.0.2.i686
    • ruby-devel-2.6.6-125.amzn2.0.2.i686
    • ruby-libs-2.6.6-125.amzn2.0.2.i686
    • rubygem-bigdecimal-1.4.1-125.amzn2.0.2.i686
    • rubygem-io-console-0.4.7-125.amzn2.0.2.i686
    • rubygem-json-2.1.0-125.amzn2.0.2.i686
    • rubygem-openssl-2.1.2-125.amzn2.0.2.i686
    • rubygem-psych-3.1.0-125.amzn2.0.2.i686
    • ruby-debuginfo-2.6.6-125.amzn2.0.2.i686
  3. 3ruby

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • rubygems-3.0.3-125.amzn2.0.2.noarch
    • rubygems-devel-3.0.3-125.amzn2.0.2.noarch
    • rubygem-rake-12.3.3-125.amzn2.0.2.noarch
    • rubygem-irb-1.0.0-125.amzn2.0.2.noarch
    • rubygem-rdoc-6.1.2-125.amzn2.0.2.noarch
    • ruby-doc-2.6.6-125.amzn2.0.2.noarch
    • rubygem-did_you_mean-1.3.0-125.amzn2.0.2.noarch
    • rubygem-minitest-5.11.3-125.amzn2.0.2.noarch
    • rubygem-power_assert-1.1.3-125.amzn2.0.2.noarch
    • rubygem-net-telnet-0.2.0-125.amzn2.0.2.noarch
    • rubygem-test-unit-3.2.9-125.amzn2.0.2.noarch
    • rubygem-xmlrpc-0.3.0-125.amzn2.0.2.noarch
    • rubygem-bundler-1.17.2-125.amzn2.0.2.noarch
  4. 4ruby

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ruby-2.6.6-125.amzn2.0.2.src
  5. 5ruby

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • ruby-2.6.6-125.amzn2.0.2.x86_64
    • ruby-devel-2.6.6-125.amzn2.0.2.x86_64
    • ruby-libs-2.6.6-125.amzn2.0.2.x86_64
    • rubygem-bigdecimal-1.4.1-125.amzn2.0.2.x86_64
    • rubygem-io-console-0.4.7-125.amzn2.0.2.x86_64
    • rubygem-json-2.1.0-125.amzn2.0.2.x86_64
    • rubygem-openssl-2.1.2-125.amzn2.0.2.x86_64
    • rubygem-psych-3.1.0-125.amzn2.0.2.x86_64
    • ruby-debuginfo-2.6.6-125.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

16
  • CVE-2012-6708 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2012-6708
  • CVE-2015-9251 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2015-9251
  • CVE-2019-15845 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-15845
  • CVE-2019-16201 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-16201
  • CVE-2019-16254 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-16254
  • CVE-2019-16255 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-16255
  • CVE-2020-10663 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-10663
  • CVE-2020-10933 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-10933
  • CVE-2012-6708 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6708
  • CVE-2015-9251 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-9251
  • CVE-2019-15845 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15845
  • CVE-2019-16201 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16201
  • CVE-2019-16254 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16254
  • CVE-2019-16255 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16255
  • CVE-2020-10663 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10663
  • CVE-2020-10933 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10933

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/ALAS2RUBY2.6-2023-007.htmlUnknownc3408b8529dce9e4987acfbb72cedf7a16ca5ff26bdd1835195cdcb4623cf985amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2RUBY2.6-2023-007.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2RUBY2.6-2023-007.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

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