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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.4673
              ruby security, bug fix, and enhancement update
                             21 September 2022

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           ruby
Publisher:         Red Hat
Operating System:  Red Hat
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-28739 CVE-2022-28738 

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2022:6585

Comment: CVSS (Max):  7.7 CVE-2022-28738 (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
         CVSS Source: Red Hat
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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.

2. Relevant releases/architectures:

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

3. 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.

4. 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

5. 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]

6. 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/

7. 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

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. 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-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBYyp/vckNZI30y1K9AQibuA//YK0lXN6ewYmGT7goZiEaXi2TiZDbAND2
1Vceih9FJ9HTIO+0pcLI3UJXJxM1YQZbVNj2G1zXmzdOGRsq2gu8vkvx+/I61c4Z
J5k8wAjMFYVP1JD1VACHltes04DxoTQz95GXblZW6ZjkRI1M+bJzLf3GBRsCoVL1
okpUQe+doYfiwMxmAIJFRajNrzb2H2YCaCmK8qggwCtVrh9wrgMyLd5c0BMtYoxO
xUo07VyHMFmK1bRCwnHsStGeL0eHMHG9XxmhmhwidLX8ZTX73qPTX31FtiC8WGpl
vO2eN+9I9tvQySQZJXPDDG9DzakrdkA/wvtrGUYMDj7Wuqgj1WZpzX3pyuYHFhiU
NO4KMCdOGzpFJHvMn3m5apPkK7im9826ghIDHfcRriSiJ9wz5aeVVOpjDeTke4Hk
kpugDwaxdnfzFfYua4QGiD+mkmO/xY6/zAckHC2Urmuy/KhHKCJa5/vAGKNDt3Bh
IUtkRSQ5Ub03Cou6N0zoaBIFNThA4zxlZgOepKPQSjDLAIbQp1/FCsfI583PdEkK
+iQC1rWfICMM15MiMzE2s0lj8PerF/xyJ7VeQKh0O3Cw9SWUOKPRNCndb0l41/oW
vP/7XzR+uf2UJPOx9LnSTvX4RvXtrRcsg+PxPfrI1qlgL98b/OPN9jwEwxhV8QgS
L7yGI/WHAtc=
=n6l/
-----END PGP SIGNATURE-----