CVE-2021-42694
Unicode vulnerability
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.
Affected products
Unicode. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Unicode runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.unicode.org/versions/Unicode14.0.0/ · Vendor Advisory
- www.unicode.org/reports/tr36/ · Vendor Advisory
- www.unicode.org/reports/tr39/ · Vendor Advisory
- www.openwall.com/lists/oss-security/2021/11/01/1 · Third Party Advisory
- www.openwall.com/lists/oss-security/2021/11/01/6 · Third Party Advisory
- cwe.mitre.org/data/definitions/1007.html · Third Party Advisory
- security.gentoo.org/glsa/202210-09 · Third Party Advisory
- trojansource.codes · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-42694
- cve.org/CVERecord?id=CVE-2021-42694
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.