CVE-2021-42694
An issue was discovered in the character definitions of the Unicode Specification through 14.0. The specification allows an adversary to produce source code identifiers such as function names using homoglyphs that render visually identical to a target identifier. Adversaries can leverage this to inject code via adversarial identifier definitions in upstream software dependencies invoked deceptively in downstream software. NOTE: the Unicode Consortium offers the following alternative approach to presenting this concern. An issue is noted in the nature of international text that can affect applications that implement support for The Unicode Standard (all versions). Unless mitigated, an adversary could produce source code identifiers using homoglyph characters that render visually identical to but are distinct from a target identifier. In this way, an adversary could inject adversarial identifier definitions in upstream software that are not detected by human reviewers and are invoked deceptively in downstream software. The Unicode Consortium has documented this class of security vulnerability in its document, Unicode Technical Report #36, Unicode Security Considerations. The Unicode Consortium also provides guidance on mitigations for this class of issues in Unicode Technical Standard #39, Unicode Security Mechanisms.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 8 | cpp | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc-c++ | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc-gdb-plugin | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc-gfortran | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc-offload-nvptx | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc-plugin-annobin | Not affected | ||
| Red Hat Enterprise Linux 8 | gcc-plugin-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libasan | Not affected | ||
| Red Hat Enterprise Linux 8 | libatomic | Not affected | ||
| Red Hat Enterprise Linux 8 | libatomic-static | Not affected | ||
| Red Hat Enterprise Linux 8 | libgcc | Not affected | ||
| Red Hat Enterprise Linux 8 | libgfortran | Not affected | ||
| Red Hat Enterprise Linux 8 | libgfortran-static | Not affected | ||
| Red Hat Enterprise Linux 8 | libgomp | Not affected | ||
| Red Hat Enterprise Linux 8 | libgomp-offload-nvptx | Not affected | ||
| Red Hat Enterprise Linux 8 | libitm | Not affected | ||
| Red Hat Enterprise Linux 8 | libitm-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | liblsan | Not affected | ||
| Red Hat Enterprise Linux 8 | libquadmath | Not affected | ||
| Red Hat Enterprise Linux 8 | libquadmath-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libquadmath-static | Not affected | ||
| Red Hat Enterprise Linux 8 | libstdc++ | Not affected | ||
| Red Hat Enterprise Linux 8 | libstdc++-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libstdc++-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | libstdc++-static | Not affected | ||
| Red Hat Enterprise Linux 8 | libtsan | Not affected | ||
| Red Hat Enterprise Linux 8 | libubsan | Not affected | ||
| Red Hat Enterprise Linux 7 | cpp | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-c++ | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-gfortran | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-gnat | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-go | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-objc | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-objc++ | Not affected | ||
| Red Hat Enterprise Linux 7 | gcc-plugin-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libasan | Not affected | ||
| Red Hat Enterprise Linux 7 | libasan-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libatomic | Not affected | ||
| Red Hat Enterprise Linux 7 | libatomic-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgcc | Not affected | ||
| Red Hat Enterprise Linux 7 | libgfortran | Not affected | ||
| Red Hat Enterprise Linux 7 | libgfortran-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgnat | Not affected | ||
| Red Hat Enterprise Linux 7 | libgnat-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libgnat-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgo | Not affected | ||
| Red Hat Enterprise Linux 7 | libgo-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libgo-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libgomp | Not affected | ||
| Red Hat Enterprise Linux 7 | libitm | Not affected | ||
| Red Hat Enterprise Linux 7 | libitm-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libitm-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libmudflap | Not affected | ||
| Red Hat Enterprise Linux 7 | libmudflap-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libmudflap-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libobjc | Not affected | ||
| Red Hat Enterprise Linux 7 | libquadmath | Not affected | ||
| Red Hat Enterprise Linux 7 | libquadmath-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libquadmath-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++ | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++-docs | Not affected | ||
| Red Hat Enterprise Linux 7 | libstdc++-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libtsan | Not affected | ||
| Red Hat Enterprise Linux 7 | libtsan-static | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/202210-09 (vendor-advisory)
References
- http://www.unicode.org/versions/Unicode14.0.0/
- https://trojansource.codes
- http://www.openwall.com/lists/oss-security/2021/11/01/1
- http://www.openwall.com/lists/oss-security/2021/11/01/6
- https://www.kb.cert.org/vuls/id/999008
- https://www.scyon.nl/post/trojans-in-your-source-code
- https://www.unicode.org/reports/tr36/
- https://www.unicode.org/reports/tr39/
- https://cwe.mitre.org/data/definitions/1007.html
- https://security.gentoo.org/glsa/202210-09
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.