Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ ALSA-2021:4586 — gcc-toolset-11-gcc (CVE-2021-42574)

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Moderate: gcc-toolset-11-gcc security update

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.

Affected software

ALSA-2021:4586 is recorded against 18 packages.

  • gcc-toolset-11-gcc (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-gcc-c++ (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-gcc-gdb-plugin (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-gcc-gfortran (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-gcc-plugin-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libasan-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libatomic-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libgccjit (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libgccjit-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libgccjit-docs (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libitm-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-liblsan-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libquadmath-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libstdc++-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libstdc++-docs (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libtsan-devel (fixed in 11.2.1-1.2.el8_5)
  • gcc-toolset-11-libubsan-devel (fixed in 11.2.1-1.2.el8_5)
  • libasan6 (fixed in 11.2.1-1.2.el8_5)

Timeline and source

Published on 10 November 2021 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

vulners.com (Report)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2021-11-10
Updated 2026-08-20
Modified 2026-02-04
Fix URL N/A

Affected Packages

Software From version Fixed in
gcc-toolset-11-gcc 11.2.1-1.2.el8_5
gcc-toolset-11-gcc-c++ 11.2.1-1.2.el8_5
gcc-toolset-11-gcc-gdb-plugin 11.2.1-1.2.el8_5
gcc-toolset-11-gcc-gfortran 11.2.1-1.2.el8_5
gcc-toolset-11-gcc-plugin-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libasan-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libatomic-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libgccjit 11.2.1-1.2.el8_5
gcc-toolset-11-libgccjit-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libgccjit-docs 11.2.1-1.2.el8_5
gcc-toolset-11-libitm-devel 11.2.1-1.2.el8_5
gcc-toolset-11-liblsan-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libquadmath-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libstdc++-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libstdc++-docs 11.2.1-1.2.el8_5
gcc-toolset-11-libtsan-devel 11.2.1-1.2.el8_5
gcc-toolset-11-libubsan-devel 11.2.1-1.2.el8_5
libasan6 11.2.1-1.2.el8_5

Similar Threats

Free Vulnerability Check

Is your site affected by ALSA-2021:4586?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against ALSA-2021:4586 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.