public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103026] New: Implement warning for Unicode bidi override characters  [CVE-2021-42574]
@ 2021-11-01 15:03 mpolacek at gcc dot gnu.org
  2021-11-01 15:03 ` [Bug c++/103026] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-11-01 15:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103026

            Bug ID: 103026
           Summary: Implement warning for Unicode bidi override characters
                     [CVE-2021-42574]
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

An issue was discovered in the Bidirectional Algorithm in the Unicode
Specification through 14.0. It permits the visual reordering of characters via
control sequences, which can be used to craft source code that renders
different logic than the logical ordering of tokens ingested by compilers and
interpreters. Adversaries can leverage this to encode source code for compilers
accepting Unicode such that targeted vulnerabilities are introduced invisibly
to human reviewers.

We ought to have a warning in the preprocessor that warns about the potentially
misleading Unicode bidirectional characters.

More info:
https://nvd.nist.gov/vuln/detail/CVE-2021-42574
https://trojansource.codes/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-11-18 14:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 15:03 [Bug c++/103026] New: Implement warning for Unicode bidi override characters [CVE-2021-42574] mpolacek at gcc dot gnu.org
2021-11-01 15:03 ` [Bug c++/103026] " mpolacek at gcc dot gnu.org
2021-11-01 16:38 ` [Bug preprocessor/103026] " mpolacek at gcc dot gnu.org
2021-11-01 17:50 ` jakub at gcc dot gnu.org
2021-11-17  3:01 ` cvs-commit at gcc dot gnu.org
2021-11-17  3:05 ` mpolacek at gcc dot gnu.org
2021-11-17 22:33 ` cvs-commit at gcc dot gnu.org
2021-11-17 22:35 ` cvs-commit at gcc dot gnu.org
2021-11-18 14:35 ` dmalcolm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).