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

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

                               ESB-2021.2468
                      shim and fwupd security update
                               21 July 2021

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

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

Product:           shim and fwupd
Publisher:         Red Hat
Operating System:  Red Hat
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Denial of Service               -- Existing Account
                   Access Confidential Data        -- Existing Account
                   Unauthorised Access             -- Existing Account
                   Reduced Security                -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-20233 CVE-2021-20225 CVE-2020-27779
                   CVE-2020-27749 CVE-2020-25647 CVE-2020-25632
                   CVE-2020-14372  

Reference:         ESB-2021.2263
                   ESB-2021.2178
                   ESB-2021.1739
                   ESB-2021.0753
                   ESB-2021.0748

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2021:2790

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

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

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

Synopsis:          Moderate: shim and fwupd security update
Advisory ID:       RHSA-2021:2790-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2021:2790
Issue date:        2021-07-20
CVE Names:         CVE-2020-14372 CVE-2020-25632 CVE-2020-25647 
                   CVE-2020-27749 CVE-2020-27779 CVE-2021-20225 
                   CVE-2021-20233 
=====================================================================

1. Summary:

An update for fwupd, shim, shim-unsigned-aarch64, and shim-unsigned-x64 is
now available for Red Hat Enterprise Linux 8.2 Extended Update Support.

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 EUS (v. 8.2) - aarch64, x86_64
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) - aarch64, ppc64le, s390x, x86_64

3. Description:

The shim package contains a first-stage UEFI boot loader that handles
chaining to a trusted full boot loader under secure boot environments.

The fwupd packages provide a service that allows session software to update
device firmware.

The following packages have been upgraded to a later upstream version: shim
(15.4). (BZ#1932411)

Security Fix(es):

* grub2: acpi command allows privileged user to load crafted ACPI tables
when Secure Boot is enabled (CVE-2020-14372)

* grub2: Use-after-free in rmmod command (CVE-2020-25632)

* grub2: Out-of-bounds write in grub_usb_device_initialize()
(CVE-2020-25647)

* grub2: Stack buffer overflow in grub_parser_split_cmdline()
(CVE-2020-27749)

* grub2: cutmem command allows privileged user to remove memory regions
when Secure Boot is enabled (CVE-2020-27779)

* grub2: Heap out-of-bounds write in short form option parser
(CVE-2021-20225)

* grub2: Heap out-of-bounds write due to miscalculation of space required
for quoting (CVE-2021-20233)

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/):

1873150 - CVE-2020-14372 grub2: acpi command allows privileged user to load crafted ACPI tables when Secure Boot is enabled
1879577 - CVE-2020-25632 grub2: Use-after-free in rmmod command
1886936 - CVE-2020-25647 grub2: Out-of-bounds write in grub_usb_device_initialize()
1899966 - CVE-2020-27749 grub2: Stack buffer overflow in grub_parser_split_cmdline()
1900698 - CVE-2020-27779 grub2: cutmem command allows privileged user to remove memory regions when Secure Boot is enabled
1924696 - CVE-2021-20225 grub2: Heap out-of-bounds write in short form option parser
1926263 - CVE-2021-20233 grub2: Heap out-of-bounds write due to miscalculation of space required for quoting

6. Package List:

Red Hat Enterprise Linux BaseOS EUS (v. 8.2):

Source:
fwupd-1.1.4-9.el8_2.src.rpm
shim-15.4-2.el8_1.src.rpm

aarch64:
fwupd-1.1.4-9.el8_2.aarch64.rpm
fwupd-debuginfo-1.1.4-9.el8_2.aarch64.rpm
fwupd-debugsource-1.1.4-9.el8_2.aarch64.rpm
shim-aa64-15.4-2.el8_1.aarch64.rpm

ppc64le:
fwupd-1.1.4-9.el8_2.ppc64le.rpm
fwupd-debuginfo-1.1.4-9.el8_2.ppc64le.rpm
fwupd-debugsource-1.1.4-9.el8_2.ppc64le.rpm

s390x:
fwupd-1.1.4-9.el8_2.s390x.rpm
fwupd-debuginfo-1.1.4-9.el8_2.s390x.rpm
fwupd-debugsource-1.1.4-9.el8_2.s390x.rpm

x86_64:
fwupd-1.1.4-9.el8_2.x86_64.rpm
fwupd-debuginfo-1.1.4-9.el8_2.x86_64.rpm
fwupd-debugsource-1.1.4-9.el8_2.x86_64.rpm
shim-ia32-15.4-2.el8_1.x86_64.rpm
shim-x64-15.4-2.el8_1.x86_64.rpm

Red Hat CodeReady Linux Builder EUS (v. 8.2):

Source:
shim-unsigned-aarch64-15-7.el8_1.src.rpm
shim-unsigned-x64-15.4-4.el8_1.src.rpm

aarch64:
shim-unsigned-aarch64-15-7.el8_1.aarch64.rpm

x86_64:
shim-unsigned-x64-15.4-4.el8_1.x86_64.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-2020-14372
https://access.redhat.com/security/cve/CVE-2020-25632
https://access.redhat.com/security/cve/CVE-2020-25647
https://access.redhat.com/security/cve/CVE-2020-27749
https://access.redhat.com/security/cve/CVE-2020-27779
https://access.redhat.com/security/cve/CVE-2021-20225
https://access.redhat.com/security/cve/CVE-2021-20233
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/security/vulnerabilities/RHSB-2021-003

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

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

iQIVAwUBYPdKe9zjgjWX9erEAQia/Q/+OF5AfNo/I3l3OsE9kBgmxqXoTANkbpkv
rLUizj+khr3q8QQKOvkeS7QrsnRpaUthnHhwu95oYZoJl0lbEVh6k3atkIxI9qsR
Ppt5cL7O3BpG9VvnHfUbti9kDl/3WCoywKio5m+aq670FVK4RI4DqYthnVSKlJPP
yeyDiBYz+HsqG/hvRrxCv70fVHA+BCGeCM1qaJozqhl18kaSY1KU0K/QJQ7cEMBY
G8Px2EVYJE5vc+PQWldkvfskHfJKuC4xEf0A7xNB6eBi/HMMXuvnnvxg02Tvq22m
2SrboHq7OHzvP/wORoU2y7ZvHf/JkXj0vB827h1X/09rjQMc5HcJVT6/14ja+hBd
HZQpiVe/+hqWufinfGCBC4Y//dGDDJ/fqMXWvSavJm6PPVqRuXfk5TaaJSx/nShb
tJ1i9pjbAqCJbY5RMgNLoul13AINEPOcd+A/fCebpMiDMHts1hbVtiifENbweZTX
1vnP+bpgrKxrU6u/RYg88AeNp+Lga++jnykxK6kb5AP2hUjoy4kMaj380DOQZRvD
lOppjgnBGSolfZLt3vdprJgeMGbsh1FiFDt3ls7asO800yZrsCJpAw7byznTPasP
U+li7OLKM6F4oP+8G2j3EDE1+BteA9OAUGI0phvLXu0C+zpg7R3cJfCVeTLjC3Qd
NSoKps/AMhI=
=jbDg
- -----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: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYPfAxeNLKJtyKPYoAQihSw//dChjJzdFKjndNu+QtYv1FXESK5ihYh9C
ugIZwIT/T33o9lZnTMMDPvW/c0DtR42/sc7qBtIN6lifgWJYtf/PxC/JkMBAp4di
X6CAy2yrEE7zQ1GqJlOh2L84W62XmWTohScrCPIe+PpqaWeWRYMjN/gWMS5cUm+W
cesl9oT/EsTDHEGmDo9jONnJUfOKEnHP53adoOHATlxRlxpfDh3x9IAq2xIBi7rZ
qy48PYiaLeXzsqe0JQnTvD67jLwcf9RjwQCGmGXBl7YRj4PlIQqOU7Rk0Fja3Kf1
VmjqXP5ZMRdEWR1ErEy9Fj3WisaVICbLrXr89k4Ta/pz7sv1+WWP16ZfHNOmdtpk
vjhSxo+f6LfRixQ5wYzFYhLyuFGY1ctaC83O89wP0pwY8L3PjE1KcU1fTWLP6TB0
n5hJlJyF+mYh71KsTSgfra65gXjPNse7WwOXDPQ8QFoi/dh4/mU4TtlK6Gh/uzsy
sqH/r7sb1wIpfcYmSB1QuF5Qu4/XhSVLUrAs1E9jNRSGQlBpQ8uek8WV2SY9Bjww
5XgZPglJi8i833pLt92jMvNaGdABOsxmEMct37eFqen0uoi6qRy++lmJOpEngWxL
m5kS3sPoo90zTROK7dpI85MpVGBjKtIaoO5HNVOw4t4S3q3SacEQgiJjJjneDtbi
GkFQk+a3BVo=
=k4tT
-----END PGP SIGNATURE-----