Advisory

RLSA-2021:1935

Also known as: CVE-2020-36317, CVE-2020-36318

Summary

Low: rust-toolset:rhel8 security, bug fix, and enhancement update

Details

Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.

The following packages have been upgraded to a later upstream version: rust (1.49.0). (BZ#1896712)

Security Fix(es):

  • rust: use-after-free or double free in VecDeque::make_contiguous (CVE-2020-36318)
  • rust: memory safety violation in String::retain() (CVE-2020-36317)

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.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.

Severity

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

Dates

Published
2021-05-18 06:26 UTC
Modified
2026-02-04 10:15 UTC

Affected packages and fixes

rust

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:1.49.0-1.module+el8.4.0+416+259a129a (ecosystem)

Fixed versions

0:1.49.0-1.module+el8.4.0+416+259a129a

Fix

  • Fixed version 0:1.49.0-1.module+el8.4.0+416+259a129a
    sudo dnf upgrade rust-0:1.49.0-1.module+el8.4.0+416+259a129a

rust-toolset

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:1.49.0-1.module+el8.4.0+416+259a129a (ecosystem)

Fixed versions

0:1.49.0-1.module+el8.4.0+416+259a129a

Fix

  • Fixed version 0:1.49.0-1.module+el8.4.0+416+259a129a
    sudo dnf upgrade rust-toolset-0:1.49.0-1.module+el8.4.0+416+259a129a

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