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

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