kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-42574 An issue was discovered in the Bidirectional Algorithm in the Unicode Specification through 14.0. I…

설명

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. 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 and the Unicode Bidirectional Algorithm (all versions). Due to text display behavior when text includes left-to-right and right-to-left characters, the visual order of tokens may be different from their logical order. Additionally, control characters needed to fully support the requirements of bidirectional text can further obfuscate the logical order of tokens. Unless mitigated, an adversary could craft source code such that the ordering of tokens perceived by human reviewers does not match what will be processed by a compiler/interpreter/etc. The Unicode Consortium has documented this class of 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, and in Unicode Standard Annex #31, Unicode Identifier and Pattern Syntax. Also, the BIDI specification allows applications to tailor the implementation in ways that can mitigate misleading visual reordering in program text; see HL4 in Unicode Standard Annex #9, Unicode Bidirectional Algorithm.

이 문제는 유니코드 사양에서 14.0을 통해 양방향 알고리즘에서 발견되었습니다. 제어 시퀀스를 통해 문자의 시각적 순서를 변경할 수 있으며, 컴파일러와 인터프리터가 수집하는 토큰의 논리적 순서와 다른 논리를 렌더링하는 소스 코드를 만드는 데 사용할 수 있습니다. 적들은 이것을 이용하여 유니코드를 받아들이는 컴파일러를 위한 소스 코드를 인코딩하여 표적 취약점이 인간 검토자들에게 보이지 않게 소개될 수 있다. 참고: 유니코드 컨소시엄은 이러한 우려를 제시하기 위해 다음과 같은 대안적인 접근 방식을 제공합니다. 유니코드 표준과 유니코드 양방향 알고리즘(모든 버전)을 지원하는 애플리케이션에 영향을 줄 수 있는 국제 텍스트의 특성에 문제가 있습니다. 텍스트가 왼쪽에서 오른쪽 및 오른쪽에서 왼쪽 문자를 포함할 때 텍스트 표시 동작으로 인해 토큰의 시각적 순서가 논리적 순서와 다를 수 있습니다. 또한 양방향 텍스트의 요구 사항을 완벽하게 지원하는 데 필요한 제어 문자는 토큰의 논리적 순서를 더욱 난독화 할 수 있습니다. 완화되지 않는 한, 공격자는 소스 코드를 조작하여 인간 검토자가 인식하는 토큰의 순서가 컴파일러/해석자/등에 의해 처리될 것과 일치하지 않도록 할 수 있습니다. 유니코드 컨소시엄은 이 취약점 클래스를 문서 Unicode Technical Report #36, Unicode Security Considerations에 문서화했습니다. 유니코드 컨소시엄은 또한 유니코드 기술 표준 #39, 유니코드 보안 메커니즘, 유니코드 표준 부록 #31, 유니코드 식별자 및 패턴 구문에서 이러한 종류의 문제에 대한 완화에 대한 지침을 제공합니다. 또한 BIDI 사양은 응용 프로그램이 프로그램 텍스트에서 오도된 시각적 재순서를 완화할 수 있는 방식으로 구현을 조정할 수 있도록 합니다. HL4 in Unicode Standard Annex #9, Unicode Bidirectional Algorithm을 참조하십시오.

영향 받는 제품 제품 3개

  • fedoraproject

    fedora

    NVD 기준

    영향 받는 버전

    • 33
    • 34
    • 35

    해결 버전

    해결된 버전 정보가 없습니다.

  • starwindsoftware

    starwind virtual san

    NVD 기준

    영향 받는 버전

    • v8r13

    해결 버전

    해결된 버전 정보가 없습니다.

  • unicode

    unicode

    NVD 기준 해결 버전 있음

    영향 받는 버전

    • 14.0.0 미만

    해결 버전

    • 14.0.0 이상

참고 자료 18건

‹ 목록

점검 지원 범위 문의

도입 문의