Lucene search

K
osvGoogleOSV:ALSA-2021:4585
HistoryNov 10, 2021 - 8:31 a.m.

Moderate: gcc-toolset-10-gcc security update

2021-11-1008:31:42
Google
osv.dev
12
gcc package
security update
bidirectional warning
unicode
trojan source attack

AI Score

8.5

Confidence

High

EPSS

0.003

Percentile

68.6%

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.