Operating System:

[RedHat]

Published:

17 November 2021

Protect yourself against future threats.

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

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

                               ESB-2021.3915
                  rust-toolset-1.54-rust security update
                             17 November 2021

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

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

Product:           rust-toolset-1.54-rust
Publisher:         Red Hat
Operating System:  Red Hat
Impact/Access:     Provide Misleading Information -- Existing Account
                   Reduced Security               -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-42574  

Reference:         ESB-2021.3843

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

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

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

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

Synopsis:          Moderate: rust-toolset-1.54-rust security update
Advisory ID:       RHSA-2021:4694-01
Product:           Red Hat Developer Tools
Advisory URL:      https://access.redhat.com/errata/RHSA-2021:4694
Issue date:        2021-11-16
CVE Names:         CVE-2021-42574 
=====================================================================

1. Summary:

An update for rust-toolset-1.54-rust is now available for Red Hat Developer
Tools.

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 Developer Tools for Red Hat Enterprise Linux Server (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64

3. Description:

Rust Toolset provides the Rust programming language compiler rustc, the
cargo build tool and dependency manager, and required libraries.

Security Fix(es):

* Developer environment: Unicode's bidirectional (BiDi) override characters
can cause trojan source attacks (CVE-2021-42574)

The following changes were introduced in rust in order to facilitate
detection of BiDi Unicode characters:

Rust introduces two new lints to detect and reject code containing the
affected codepoints. These new deny-by-default lints detect affected
codepoints in string literals and comments. The lints will prevent source
code file containing these codepoints from being compiled. If your code has
legitimate uses for the codepoints we recommend replacing them with the
related escape sequence. The error messages will suggest the right escapes
to use.

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

2005819 - CVE-2021-42574 Developer environment: Unicode's bidirectional (BiDi) override characters can cause trojan source attacks

6. Package List:

Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7):

Source:
rust-toolset-1.54-rust-1.54.0-4.el7_9.src.rpm

noarch:
rust-toolset-1.54-cargo-doc-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-debugger-common-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-gdb-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-lldb-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-src-1.54.0-4.el7_9.noarch.rpm

ppc64:
rust-toolset-1.54-cargo-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-clippy-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rls-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rust-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.ppc64.rpm
rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.ppc64.rpm

ppc64le:
rust-toolset-1.54-cargo-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-clippy-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rls-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rust-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.ppc64le.rpm
rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.ppc64le.rpm

s390x:
rust-toolset-1.54-cargo-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-clippy-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-rls-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-rust-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.s390x.rpm
rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.s390x.rpm

x86_64:
rust-toolset-1.54-cargo-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-clippy-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rls-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.x86_64.rpm

Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7):

Source:
rust-toolset-1.54-rust-1.54.0-4.el7_9.src.rpm

noarch:
rust-toolset-1.54-cargo-doc-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-debugger-common-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-gdb-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-lldb-1.54.0-4.el7_9.noarch.rpm
rust-toolset-1.54-rust-src-1.54.0-4.el7_9.noarch.rpm

x86_64:
rust-toolset-1.54-cargo-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-clippy-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rls-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.x86_64.rpm
rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.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-2021-42574
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/security/vulnerabilities/RHSB-2021-007

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

iQIVAwUBYZO5gdzjgjWX9erEAQh3YxAAl7zV51Sqqs+UW8DWp7EpJP6UO3MhcCxQ
9P3wC758Rao5DZV081JVvOkE2ZXeREN1Dnb2JB0EQTem0Z6ZACLhdwQ1mppRy1ZX
7GqCmG0iu+aENGnmsS9UPQAd5eOeoHNAL74TXiLerTPO75pUKtj9s51uBj1Wpgkc
zsh8I6QEvb+N30djScoXwvGGRjtRDlhCWhL0DXGN8GyLU4NBkX3HxsnbPny513aT
a+hm4g4Dhfy3xUHyN3hjrj9zJAULPKVyNbkDH9ahEPj0u4JLWISFS4m/7cYPK1xV
hCfaqOE8dzdq9mATO7QeWSjyRiVxAMmZxW0b/8LhTNuMkLMty5CvkVMd0rhGPBwe
HaRfn7V/zLUP1XJaLz0s0ZsFc3xPyH8JV+HZtfdVLexOxoHhMbq2PHusx/+/ZAgu
af4bSu8qGntwqx2D9auUnEdOFfD+IzqSFEdmNdAYmxCgka8rSLoYVYqWJYubEu0b
XYTKP5nhHFJD0uTUFUBgPfp7lLcoqBl1cQoCNTByjHXPYvbJBNhahaI3xz0gZuOW
gm8nShHbQQ2HSiuzT/o48yf4rV/O7/unpDyKfg4HG3K0Td8zhmiwMF6eDqvDe65p
E1RQ2RpxyI7rL4xrfTkiyMf+6xPZKdDmxWaTozkosSBt5NBynSPHo5NcUd0gcNNS
FcJTDFv05oM=
=R1Fz
- -----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

iQIVAwUBYZRKueNLKJtyKPYoAQgE7xAAq+smfSBcZPs9+1WbAirZJZjfjzy7GWYu
GOJs2Am4Pyd3kXDw5iwbxUunTJjk5V8SBYGyIXzBs39kHiK+d04feIN9dKayzKmi
lOmnQioJHWCJ82S3VU/RnDkKrWnWUjG/fAYPXsjSTf3zWpOQMi9INOqYbpgTQGLn
vGG7OzA4ieHHOeK+vyx46neAj18VxqoNkm5CqIB13cQrTmHS/MhLX4F3Fg8SLnnW
mps4k9nbbDbbxAuimLwEQC0J9rDIchY/gxwKGoin+nuYvnV2spyROnIN9ms0P/mJ
cvGS+9kz87cqxcJ+dmggzLrjzEeIkIdsG6A99JjUtfjmr0OSQotfTg39SJmipUkH
bhjx07jB31LLjZ3G2APa39jcSW7Bx2nFqxJ4N+WQOtrAfERM5LFkDAjz1SFVZ1aA
PdDBXaIPs63WqHC7sUuCl/5YpybI+AaT21mydhl5YxtH4b0AqGNJIOyervqge4Vn
XqRz37NiQ6b2uR1d7uiK8S76kN4SW9cchcAly1QwO5I7GW5OZOGgttzZscgVW7Cj
ZpgNhG8Uj6i+LYNdpcXVz0rW6Qcmm6dUMK7eGbvxwkTDASnKK2mavnbblrxHNaEd
F5uE/CFf0wDMsvuKkZ10S1Csm4Fcux6q04FblGtwYbgzsAN7zYC0zHCJNYZwfqgT
/O7vfpO1YAs=
=ZXyp
-----END PGP SIGNATURE-----