Advisory

RLSA-2021:4743

Also known as: CVE-2021-42574

Summary

Moderate: llvm-toolset:rhel8 security update

Details

LLVM Toolset provides the LLVM compiler infrastructure framework, the Clang compiler for the C and C++ languages, the LLDB debugger, and related tools for code analysis.

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 clang in order to facilitate detection of BiDi Unicode characters:

clang-tidy now finds identifiers that contain Unicode characters with right-to-left direction, which can be confusing as they may change the understanding of a whole statement.

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.

Severity

High Basis: CVSS v3 score 8.5, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2021-11-18 16:29 UTC
Modified
2026-02-04 13:15 UTC

Affected packages and fixes

clang

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-4.module+el8.5.0+715+58f51d49 (ecosystem)

Fixed versions

0:12.0.1-4.module+el8.5.0+715+58f51d49

Fix

  • Fixed version 0:12.0.1-4.module+el8.5.0+715+58f51d49
    sudo dnf upgrade clang-0:12.0.1-4.module+el8.5.0+715+58f51d49

compiler-rt

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-1.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-1.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-1.module+el8.5.0+692+8756646f
    sudo dnf upgrade compiler-rt-0:12.0.1-1.module+el8.5.0+692+8756646f

libomp

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-1.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-1.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-1.module+el8.5.0+692+8756646f
    sudo dnf upgrade libomp-0:12.0.1-1.module+el8.5.0+692+8756646f

lld

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-1.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-1.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-1.module+el8.5.0+692+8756646f
    sudo dnf upgrade lld-0:12.0.1-1.module+el8.5.0+692+8756646f

lldb

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-1.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-1.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-1.module+el8.5.0+692+8756646f
    sudo dnf upgrade lldb-0:12.0.1-1.module+el8.5.0+692+8756646f

llvm

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-2.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-2.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-2.module+el8.5.0+692+8756646f
    sudo dnf upgrade llvm-0:12.0.1-2.module+el8.5.0+692+8756646f

llvm-toolset

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-1.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-1.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-1.module+el8.5.0+692+8756646f
    sudo dnf upgrade llvm-toolset-0:12.0.1-1.module+el8.5.0+692+8756646f

python-lit

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:12.0.1-1.module+el8.5.0+692+8756646f (ecosystem)

Fixed versions

0:12.0.1-1.module+el8.5.0+692+8756646f

Fix

  • Fixed version 0:12.0.1-1.module+el8.5.0+692+8756646f
    sudo dnf upgrade python-lit-0:12.0.1-1.module+el8.5.0+692+8756646f

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences