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 461
Alerts This Week
Warning Icon 1 461

Red Hat 7: RHSA-2021-4669 Moderate: GCC BiDi Trojan Source Attack

red hat
Calendar Grey November 15, 2021
Scroller Redhat
Security bulletin issued for Red Hat's devtoolset-11-gcc version overhaul, targeting moderate vulnerabilities arising from unicode complications.
An update for devtoolset-11-gcc is now available for Red Hat Software Collections

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 GNU Compiler Collection (GCC) is a portable compiler suite with support for various programming languages, including C, C++, and Fortran. The devtoolset-11-gcc packages provide the Red Hat Developer Toolset version of GCC, as well as related 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 Software Collections for Red Hat Enterprise Linux Server (v. 7):
Source: devtoolset-11-gcc-11.2.1-1.2.el7.src.rpm
ppc64: devtoolset-11-gcc-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-gcc-c++-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-gcc-debuginfo-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-gcc-gdb-plugin-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-gcc-gfortran-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-gcc-plugin-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libasan-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libatomic-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libgccjit-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libgccjit-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libgccjit-docs-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libitm-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-liblsan-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libquadmath-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libstdc++-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libstdc++-docs-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libtsan-devel-11.2.1-1.2.el7.ppc64.rpm devtoolset-11-libubsan-devel-11.2.1-1.2.el7.ppc64.rpm libasan6-11.2.1-1.2.el7.ppc64.rpm liblsan-11.2.1-1.2.el7.ppc64.rpm libtsan-11.2.1-1.2.el7.ppc64.rpm libubsan1-11.2.1-1.2.el7.ppc64.rpm
ppc64le: devtoolset-11-gcc-11.2.1-1.2.el7.ppc64le.rpm

Read the Full Advisory


Advisory ID: RHSA-2021:4669-01
Product: Red Hat Software Collections
Issue date: 2021-11-15

Topic

An update for devtoolset-11-gcc is now available for Red Hat SoftwareCollections.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 Software Collections for Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) - ppc64, ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - 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.