RHSA-2021:4587
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 characters can 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.
Evidence and freshness
Last supporting evidence check: 2026-11-28T00:49:22.538Z UTC
Upstream Advisory
Affected Packages
cpp 8.5.0-4.el8_5
gcc 8.5.0-4.el8_5
gcc-c++ 8.5.0-4.el8_5
gcc-gdb-plugin 8.5.0-4.el8_5
gcc-gfortran 8.5.0-4.el8_5
gcc-offload-nvptx 8.5.0-4.el8_5
gcc-plugin-devel 8.5.0-4.el8_5
libasan 8.5.0-4.el8_5
libatomic 8.5.0-4.el8_5
libatomic-static 8.5.0-4.el8_5
libgcc 8.5.0-4.el8_5
libgfortran 8.5.0-4.el8_5
libgomp 8.5.0-4.el8_5
libgomp-offload-nvptx 8.5.0-4.el8_5
libitm 8.5.0-4.el8_5
libitm-devel 8.5.0-4.el8_5
liblsan 8.5.0-4.el8_5
libquadmath 8.5.0-4.el8_5
libquadmath-devel 8.5.0-4.el8_5
libstdc++ 8.5.0-4.el8_5
libstdc++-devel 8.5.0-4.el8_5
libstdc++-docs 8.5.0-4.el8_5
libstdc++-static 8.5.0-4.el8_5
libtsan 8.5.0-4.el8_5
libubsan 8.5.0-4.el8_5