Security
Headlines
HeadlinesLatestCVEs

Headline

Red Hat Security Advisory 2022-6585-01

Red Hat Security Advisory 2022-6585-01 - Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Issues addressed include a double free vulnerability.

Packet Storm
#xss#vulnerability#linux#red_hat#js#ruby

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

====================================================================
Red Hat Security Advisory

Synopsis: Moderate: ruby security, bug fix, and enhancement update
Advisory ID: RHSA-2022:6585-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:6585
Issue date: 2022-09-20
CVE Names: CVE-2022-28738 CVE-2022-28739
====================================================================

  1. Summary:

An update for ruby is now available for Red Hat Enterprise Linux 9.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

  1. Relevant releases/architectures:

Red Hat CodeReady Linux Builder (v. 9) - noarch
Red Hat Enterprise Linux AppStream (v. 9) - aarch64, noarch, ppc64le, s390x, x86_64

  1. Description:

Ruby is an extensible, interpreted, object-oriented, scripting language. It
has features to process text files and to perform system management tasks.

The following packages have been upgraded to a later upstream version: ruby
(3.0.4). (BZ#2109428)

Security Fix(es):

  • Ruby: Double free in Regexp compilation (CVE-2022-28738)

  • Ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

  1. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

  1. Bugs fixed (https://bugzilla.redhat.com/):

2075685 - CVE-2022-28738 Ruby: Double free in Regexp compilation
2075687 - CVE-2022-28739 Ruby: Buffer overrun in String-to-Float conversion
2109428 - ruby:3.0/ruby: Rebase to the latest Ruby 3.0 release [rhel-9] [rhel-9.0.0.z]

  1. Package List:

Red Hat Enterprise Linux AppStream (v. 9):

Source:
ruby-3.0.4-160.el9_0.src.rpm

aarch64:
ruby-3.0.4-160.el9_0.aarch64.rpm
ruby-debuginfo-3.0.4-160.el9_0.aarch64.rpm
ruby-debugsource-3.0.4-160.el9_0.aarch64.rpm
ruby-devel-3.0.4-160.el9_0.aarch64.rpm
ruby-libs-3.0.4-160.el9_0.aarch64.rpm
ruby-libs-debuginfo-3.0.4-160.el9_0.aarch64.rpm
rubygem-bigdecimal-3.0.0-160.el9_0.aarch64.rpm
rubygem-bigdecimal-debuginfo-3.0.0-160.el9_0.aarch64.rpm
rubygem-io-console-0.5.7-160.el9_0.aarch64.rpm
rubygem-io-console-debuginfo-0.5.7-160.el9_0.aarch64.rpm
rubygem-json-2.5.1-160.el9_0.aarch64.rpm
rubygem-json-debuginfo-2.5.1-160.el9_0.aarch64.rpm
rubygem-psych-3.3.2-160.el9_0.aarch64.rpm
rubygem-psych-debuginfo-3.3.2-160.el9_0.aarch64.rpm

noarch:
ruby-default-gems-3.0.4-160.el9_0.noarch.rpm
rubygem-bundler-2.2.33-160.el9_0.noarch.rpm
rubygem-irb-1.3.5-160.el9_0.noarch.rpm
rubygem-minitest-5.14.2-160.el9_0.noarch.rpm
rubygem-power_assert-1.2.0-160.el9_0.noarch.rpm
rubygem-rake-13.0.3-160.el9_0.noarch.rpm
rubygem-rbs-1.4.0-160.el9_0.noarch.rpm
rubygem-rdoc-6.3.3-160.el9_0.noarch.rpm
rubygem-rexml-3.2.5-160.el9_0.noarch.rpm
rubygem-rss-0.2.9-160.el9_0.noarch.rpm
rubygem-test-unit-3.3.7-160.el9_0.noarch.rpm
rubygem-typeprof-0.15.2-160.el9_0.noarch.rpm
rubygems-3.2.33-160.el9_0.noarch.rpm
rubygems-devel-3.2.33-160.el9_0.noarch.rpm

ppc64le:
ruby-3.0.4-160.el9_0.ppc64le.rpm
ruby-debuginfo-3.0.4-160.el9_0.ppc64le.rpm
ruby-debugsource-3.0.4-160.el9_0.ppc64le.rpm
ruby-devel-3.0.4-160.el9_0.ppc64le.rpm
ruby-libs-3.0.4-160.el9_0.ppc64le.rpm
ruby-libs-debuginfo-3.0.4-160.el9_0.ppc64le.rpm
rubygem-bigdecimal-3.0.0-160.el9_0.ppc64le.rpm
rubygem-bigdecimal-debuginfo-3.0.0-160.el9_0.ppc64le.rpm
rubygem-io-console-0.5.7-160.el9_0.ppc64le.rpm
rubygem-io-console-debuginfo-0.5.7-160.el9_0.ppc64le.rpm
rubygem-json-2.5.1-160.el9_0.ppc64le.rpm
rubygem-json-debuginfo-2.5.1-160.el9_0.ppc64le.rpm
rubygem-psych-3.3.2-160.el9_0.ppc64le.rpm
rubygem-psych-debuginfo-3.3.2-160.el9_0.ppc64le.rpm

s390x:
ruby-3.0.4-160.el9_0.s390x.rpm
ruby-debuginfo-3.0.4-160.el9_0.s390x.rpm
ruby-debugsource-3.0.4-160.el9_0.s390x.rpm
ruby-devel-3.0.4-160.el9_0.s390x.rpm
ruby-libs-3.0.4-160.el9_0.s390x.rpm
ruby-libs-debuginfo-3.0.4-160.el9_0.s390x.rpm
rubygem-bigdecimal-3.0.0-160.el9_0.s390x.rpm
rubygem-bigdecimal-debuginfo-3.0.0-160.el9_0.s390x.rpm
rubygem-io-console-0.5.7-160.el9_0.s390x.rpm
rubygem-io-console-debuginfo-0.5.7-160.el9_0.s390x.rpm
rubygem-json-2.5.1-160.el9_0.s390x.rpm
rubygem-json-debuginfo-2.5.1-160.el9_0.s390x.rpm
rubygem-psych-3.3.2-160.el9_0.s390x.rpm
rubygem-psych-debuginfo-3.3.2-160.el9_0.s390x.rpm

x86_64:
ruby-3.0.4-160.el9_0.i686.rpm
ruby-3.0.4-160.el9_0.x86_64.rpm
ruby-debuginfo-3.0.4-160.el9_0.i686.rpm
ruby-debuginfo-3.0.4-160.el9_0.x86_64.rpm
ruby-debugsource-3.0.4-160.el9_0.i686.rpm
ruby-debugsource-3.0.4-160.el9_0.x86_64.rpm
ruby-devel-3.0.4-160.el9_0.i686.rpm
ruby-devel-3.0.4-160.el9_0.x86_64.rpm
ruby-libs-3.0.4-160.el9_0.i686.rpm
ruby-libs-3.0.4-160.el9_0.x86_64.rpm
ruby-libs-debuginfo-3.0.4-160.el9_0.i686.rpm
ruby-libs-debuginfo-3.0.4-160.el9_0.x86_64.rpm
rubygem-bigdecimal-3.0.0-160.el9_0.x86_64.rpm
rubygem-bigdecimal-debuginfo-3.0.0-160.el9_0.i686.rpm
rubygem-bigdecimal-debuginfo-3.0.0-160.el9_0.x86_64.rpm
rubygem-io-console-0.5.7-160.el9_0.x86_64.rpm
rubygem-io-console-debuginfo-0.5.7-160.el9_0.i686.rpm
rubygem-io-console-debuginfo-0.5.7-160.el9_0.x86_64.rpm
rubygem-json-2.5.1-160.el9_0.x86_64.rpm
rubygem-json-debuginfo-2.5.1-160.el9_0.i686.rpm
rubygem-json-debuginfo-2.5.1-160.el9_0.x86_64.rpm
rubygem-psych-3.3.2-160.el9_0.x86_64.rpm
rubygem-psych-debuginfo-3.3.2-160.el9_0.i686.rpm
rubygem-psych-debuginfo-3.3.2-160.el9_0.x86_64.rpm

Red Hat CodeReady Linux Builder (v. 9):

noarch:
ruby-doc-3.0.4-160.el9_0.noarch.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

  1. References:

https://access.redhat.com/security/cve/CVE-2022-28738
https://access.redhat.com/security/cve/CVE-2022-28739
https://access.redhat.com/security/updates/classification/#moderate

  1. Contact:

The Red Hat security contact is [email protected]. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYypfvtzjgjWX9erEAQjaXQ/+LfzraWPwLDEBfxU87XekVmDQn/KHLw0Q
TPgRpDtvfVkmSDDCEvYvvMOYSW3MdNmNJOwPhQyJT3cBrq0zHUog0ejoJO5jV3B1
rOStJ/EfwskmCVaPehhJvGfrKVr2l6Uo8SH0zrLMKBtqd42/GrO2eiDs/xxhVq5U
wvgecfUQY8lfpJ25ELa/081aAe4Cg4NN7WShf7DFJ2tw+f/IguCWi+CHZoavv3AQ
T7So/dbIjFJmliaPcTkvW02m+JHxNGduXJfelMXB72eyJR7/jEK7OvfE89a18yZ8
P38biUIPZFNaLW1SN62GnA8Qby6g9C/1x+pXssEQ6fo1qJPk/bW6qYfPWWM4Op5N
VsTFDx7EAZRCQFnyczTcaUE7g9s4ZovK4qMqTZq9BhP25m9yisvV1jizNpSU6vMi
h37/Mi0gcOOcjbtj8Nlbtx+QsHFJvOgTjDIiwPVllMpxygWjSRRnR+LBoTHCPlP2
ZG5q8MGwZAIfzKSP9Fjg58rJoiWnzyJWFLEym38lfrrjch21CtgaKm28wrKQ18PC
7GQ/A/rARWMfAKnFYEO4zF07kidgTwyVJI5RJv8b9x4vLo7/G80CVDXIYjEDP4FR
7fNpEfc9/owximR5WpTds3GfzTDSKzNonHX/oNhIaJLkQ27RTSPXORzxtAsz2a6j
jbIYxx9rQto=komJ
-----END PGP SIGNATURE-----

RHSA-announce mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/rhsa-announce

Related news

Gentoo Linux Security Advisory 202401-27

Gentoo Linux Security Advisory 202401-27 - Multiple vulnerabilities have been discovered in Ruby, the worst of which could lead to execution of arbitrary code. Multiple versions are affected.

CVE-2023-21954: Oracle Critical Patch Update Advisory - April 2023

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions that are affected are Oracle Java SE: 8u361, 8u361-perf, 11.0.18, 17.0.6; Oracle GraalVM Enterprise Edition: 20.3.9, 21.3.5 and 22.3.1. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all Oracle Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g., through...

CVE-2022-46723: About the security content of macOS Monterey 12.6.1

This issue was addressed with improved checks. This issue is fixed in macOS Monterey 12.6.1, macOS Big Sur 11.7.1. A remote user may be able to write arbitrary files.

CVE-2022-46756: DSA-2022-335: Dell VxRail Security Update for Multiple Third-Party Component Vulnerabilities

Dell VxRail, versions prior to 7.0.410, contain a Container Escape Vulnerability. A local high-privileged attacker could potentially exploit this vulnerability, leading to the execution of arbitrary OS commands on the container's underlying OS. Exploitation may lead to a system take over by an attacker.

Red Hat Security Advisory 2022-6855-01

Red Hat Security Advisory 2022-6855-01 - Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Issues addressed include buffer overflow, denial of service, double free, and spoofing vulnerabilities.

RHSA-2022:6856: Red Hat Security Advisory: rh-ruby27-ruby security, bug fix, and enhancement update

An update for rh-ruby27-ruby is now available for Red Hat Software Collections. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2021-41816: ruby: buffer overflow in CGI.escape_html * CVE-2021-41817: ruby: Regular expression denial of service vulnerability of Date parsing methods * CVE-2021-41819: ruby: Cookie prefix spoofing in CGI::Cookie.parse * CVE-2022-28739: Ruby: Buffer overrun in String-to-Float conversion

RHSA-2022:6855: Red Hat Security Advisory: rh-ruby30-ruby security, bug fix, and enhancement update

An update for rh-ruby30-ruby is now available for Red Hat Software Collections. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2021-41816: ruby: buffer overflow in CGI.escape_html * CVE-2021-41817: ruby: Regular expression denial of service vulnerability of Date parsing methods * CVE-2021-41819: ruby: Cookie prefix spoofing in CGI::Cookie.parse * CVE-2022-28738: Ruby: Double free in Regexp compilation * CVE-2022-28739: Ruby: Buffer overrun in String-to-Float conversion

RHSA-2022:6585: Red Hat Security Advisory: ruby security, bug fix, and enhancement update

An update for ruby is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2022-28738: Ruby: Double free in Regexp compilation * CVE-2022-28739: Ruby: Buffer overrun in String-to-Float conversion

Red Hat Security Advisory 2022-6447-01

Red Hat Security Advisory 2022-6447-01 - Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Issues addressed include denial of service and spoofing vulnerabilities.

Red Hat Security Advisory 2022-6450-01

Red Hat Security Advisory 2022-6450-01 - Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Issues addressed include denial of service, double free, and spoofing vulnerabilities.

Red Hat Security Advisory 2022-6450-01

Red Hat Security Advisory 2022-6450-01 - Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Issues addressed include denial of service, double free, and spoofing vulnerabilities.

RHSA-2022:6450: Red Hat Security Advisory: ruby:3.0 security, bug fix, and enhancement update

An update for the ruby:3.0 module is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2021-41817: ruby: Regular expression denial of service vulnerability of Date parsing methods * CVE-2021-41819: ruby: Cookie prefix spoofing in CGI::Cookie.parse * CVE-2022-28738: Ruby: Double free in Regexp compilation * CVE-2022-28739: Ruby: Buffer overrun in String-to-Float conversion

RHSA-2022:6447: Red Hat Security Advisory: ruby:2.7 security, bug fix, and enhancement update

An update for the ruby:2.7 module is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2021-41817: ruby: Regular expression denial of service vulnerability of Date parsing methods * CVE-2021-41819: ruby: Cookie prefix spoofing in CGI::Cookie.parse * CVE-2022-28739: Ruby: Buffer overrun in String-to-Float conversion

RHSA-2022:5338: Red Hat Security Advisory: ruby:2.6 security, bug fix, and enhancement update

An update for the ruby:2.6 module is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2022-28739: Ruby: Buffer overrun in String-to-Float conversion

Ubuntu Security Notice USN-5462-2

Ubuntu Security Notice 5462-2 - USN-5462-1 fixed several vulnerabilities in Ruby. This update provides the corresponding CVE-2022-28739 update for ruby2.3 on Ubuntu 16.04 ESM. It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information.

Ubuntu Security Notice USN-5462-1

Ubuntu Security Notice 5462-1 - It was discovered that Ruby incorrectly handled certain regular expressions. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information.

Ubuntu Security Notice USN-5462-1

Ubuntu Security Notice 5462-1 - It was discovered that Ruby incorrectly handled certain regular expressions. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information.

CVE-2022-28739

There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.

CVE-2022-28738: CVE-2022-28738

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

CVE-2022-28738: CVE-2022-28738

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

CVE-2022-28739

There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.

Packet Storm: Latest News

Microsoft Windows TOCTOU Local Privilege Escalation