Advisory
ALSA-2021:4585
Also known as: CVE-2021-42574
Summary
Moderate: gcc-toolset-10-gcc security update
Details
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.
Severity
Not rated by the source.
Dates
- Published
- 2021-11-10 08:31 UTC
- Modified
- 2026-10-29 11:01 UTC
Affected packages and fixes
| Package | Fix |
|---|---|
| gcc-toolset-10-gcc | sudo dnf upgrade gcc-toolset-10-gcc-10.3.1-1.2.el8_5 |
| gcc-toolset-10-gcc-c++ | sudo dnf upgrade gcc-toolset-10-gcc-c++-10.3.1-1.2.el8_5 |
| gcc-toolset-10-gcc-gdb-plugin | sudo dnf upgrade gcc-toolset-10-gcc-gdb-plugin-10.3.1-1.2.el8_5 |
| gcc-toolset-10-gcc-gfortran | sudo dnf upgrade gcc-toolset-10-gcc-gfortran-10.3.1-1.2.el8_5 |
| gcc-toolset-10-gcc-plugin-devel | sudo dnf upgrade gcc-toolset-10-gcc-plugin-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libasan-devel | sudo dnf upgrade gcc-toolset-10-libasan-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libatomic-devel | sudo dnf upgrade gcc-toolset-10-libatomic-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libitm-devel | sudo dnf upgrade gcc-toolset-10-libitm-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-liblsan-devel | sudo dnf upgrade gcc-toolset-10-liblsan-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libquadmath-devel | sudo dnf upgrade gcc-toolset-10-libquadmath-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libstdc++-devel | sudo dnf upgrade gcc-toolset-10-libstdc++-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libstdc++-docs | sudo dnf upgrade gcc-toolset-10-libstdc++-docs-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libtsan-devel | sudo dnf upgrade gcc-toolset-10-libtsan-devel-10.3.1-1.2.el8_5 |
| gcc-toolset-10-libubsan-devel | sudo dnf upgrade gcc-toolset-10-libubsan-devel-10.3.1-1.2.el8_5 |
| libasan6 | sudo dnf upgrade libasan6-10.3.1-1.2.el8_5 |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
Source
Source: AlmaLinux OSV database · MIT