RLSA-2021:4586

Type: Security
Severity: Moderate
Published: 2021-11-10
Rocky Linux 8

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

Data current

Last supporting evidence check: 2026-11-28T06:03:17.928Z UTC

Official vendor advisory

Rocky Linux 8

View source
Observed 2026-11-28T06:03:17.928Z UTC. Last updated 2025-12-10T09:35:48.793Z UTC.

Upstream Advisory

Affected Packages

  • gcc-toolset-11-gcc 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-gcc-c++ 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-gcc-gdb-plugin 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-gcc-gfortran 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-gcc-plugin-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libasan-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libatomic-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libgccjit 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libgccjit-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libgccjit-docs 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libitm-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-liblsan-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libquadmath-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libstdc++-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libstdc++-docs 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libtsan-devel 0:11.2.1-1.2.el8_5

  • gcc-toolset-11-libubsan-devel 0:11.2.1-1.2.el8_5

  • libasan6 0:11.2.1-1.2.el8_5

Interested in being alerted when there are new versions of gcc-toolset-11-gcc and the other packages? Set up an alert.
RLSA-2021:4586: gcc-toolset-11-gcc security update | Package Alert