Advisory

ALSA-2021:4649

Also known as: CVE-2021-42574

Summary

Moderate: gcc-toolset-10-binutils security update

Details

The binutils packages provide a collection of binary utilities for the manipulation of object code in various object file formats. It includes the ar, as, gprof, ld, nm, objcopy, objdump, ranlib, readelf, size, strings, strip, and addr2line utilities.

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

Tools which display names or strings (readelf, strings, nm, objdump) have a new command line option --unicode / -U which controls how Unicode characters are handled.

Using "--unicode=default" will treat them as normal for the tool. This is the default behaviour when --unicode option is not used.
Using "--unicode=locale" will display them according to the current locale.
Using "--unicode=hex" will display them as hex byte values.
Using "--unicode=escape" will display them as Unicode escape sequences.
Using "--unicode=highlight" will display them as Unicode escape sequences highlighted in red, if supported by the output device.

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

Not rated by the source.

Dates

Published
2021-11-15 10:00 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

gcc-toolset-10-binutils

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.35-8.el8_5.6 (ecosystem)

Fixed versions

2.35-8.el8_5.6

Fix

  • Fixed version 2.35-8.el8_5.6
    sudo dnf upgrade gcc-toolset-10-binutils-2.35-8.el8_5.6

gcc-toolset-10-binutils-devel

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2.35-8.el8_5.6 (ecosystem)

Fixed versions

2.35-8.el8_5.6

Fix

  • Fixed version 2.35-8.el8_5.6
    sudo dnf upgrade gcc-toolset-10-binutils-devel-2.35-8.el8_5.6

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: AlmaLinux OSV database · MIT

Sources & licences