Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 511
Alerts This Week
Warning Icon 1 511

Red Hat 8: RHSA-2021-4587 Moderate: GCC Unicode Trojans Attack

red hat
Calendar Grey November 10, 2021
Scroller Redhat
Red Hat releases a substantial security patch for gcc on RHEL 8 to address unicode trojan source vulnerabilities. Update your systems promptly!
An update for gcc is now available for Red Hat Enterprise Linux 8

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

Summary

The gcc packages provide compilers for C, C++, Java, Fortran, Objective C, and Ada 95 GNU, as well as related support libraries.
Security Fix(es):
* Developer environment: Unicode's bidirectional (BiDi) override characterscan cause trojan source attacks (CVE-2021-42574)
The following changes were introduced in gcc in order to facilitate detection of BiDi Unicode characters:
This update implements a new warning option -Wbidirectional to warn about possibly dangerous bidirectional characters.
There are three levels of warning supported by gcc: "-Wbidirectional=unpaired", which warns about improperly terminated BiDi contexts. (This is the default.) "-Wbidirectional=none", which turns the warning off. "-Wbidirectional=any", which warns about any use of bidirectional characters.
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.

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

Package List

Red Hat Enterprise Linux AppStream (v. 8):
aarch64: cpp-8.5.0-4.el8_5.aarch64.rpm cpp-debuginfo-8.5.0-4.el8_5.aarch64.rpm gcc-8.5.0-4.el8_5.aarch64.rpm gcc-c++-8.5.0-4.el8_5.aarch64.rpm gcc-c++-debuginfo-8.5.0-4.el8_5.aarch64.rpm gcc-debuginfo-8.5.0-4.el8_5.aarch64.rpm gcc-debugsource-8.5.0-4.el8_5.aarch64.rpm gcc-gdb-plugin-8.5.0-4.el8_5.aarch64.rpm gcc-gdb-plugin-debuginfo-8.5.0-4.el8_5.aarch64.rpm gcc-gfortran-8.5.0-4.el8_5.aarch64.rpm gcc-gfortran-debuginfo-8.5.0-4.el8_5.aarch64.rpm gcc-plugin-devel-debuginfo-8.5.0-4.el8_5.aarch64.rpm libasan-debuginfo-8.5.0-4.el8_5.aarch64.rpm libatomic-debuginfo-8.5.0-4.el8_5.aarch64.rpm libgcc-debuginfo-8.5.0-4.el8_5.aarch64.rpm libgfortran-debuginfo-8.5.0-4.el8_5.aarch64.rpm libgomp-debuginfo-8.5.0-4.el8_5.aarch64.rpm libitm-debuginfo-8.5.0-4.el8_5.aarch64.rpm libitm-devel-8.5.0-4.el8_5.aarch64.rpm liblsan-debuginfo-8.5.0-4.el8_5.aarch64.rpm libstdc++-debuginfo-8.5.0-4.el8_5.aarch64.rpm libstdc++-devel-8.5.0-4.el8_5.aarch64.rpm libstdc++-docs-8.5.0-4.el8_5.aarch64.rpm libtsan-debuginfo-8.5.0-4.el8_5.aarch64.rpm libubsan-debuginfo-8.5.0-4.el8_5.aarch64.rpm
ppc64le: cpp-8.5.0-4.el8_5.ppc64le.rpm cpp-debuginfo-8.5.0-4.el8_5.ppc64le.rpm gcc-8.5.0-4.el8_5.ppc64le.rpm gcc-c++-8.5.0-4.el8_5.ppc64le.rpm

Read the Full Advisory


Advisory ID: RHSA-2021:4587-01
Product: Red Hat Enterprise Linux
Issue date: 2021-11-10

Topic

An update for gcc is now available for Red Hat Enterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat CodeReady Linux Builder (v. 8) - aarch64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64

Bugs Fixed

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.