Advisory

USN-5379-1

Also known as: CVE-2021-31870, CVE-2021-31871, CVE-2021-31872, CVE-2021-31873

Summary

klibc vulnerabilities

Details

It was discovered that klibc did not properly perform
some mathematical operations, leading to an integer overflow.
An attacker could possibly use this issue to cause a crash,
resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2021-31870)

It was discovered that klibc did not properly handled some
memory allocations on 64 bit systems. An attacker could
possibly use this issue to cause a crash, resulting in a
denial of service, or possibly execute arbitrary code.
(CVE-2021-31871)

It was discovered that klibc did not properly handled some file
sizes values on 32 bit systems. An attacker could possibly use
this issue to cause a crash, resulting in a denial of service,
or possibly execute arbitrary code. (CVE-2021-31872)

It was discovered that klibc did not properly handled some
memory allocations. An attacker could possibly use this issue
to cause a crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2021-31873)

Severity

Not rated by the source.

Dates

Published
2022-04-18 11:37 UTC
Modified
2026-06-29 13:49 UTC

Affected packages and fixes

klibc

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.0.4-9ubuntu2.1 (ecosystem)

Fixed versions

2.0.4-9ubuntu2.1

Fix

  • Fixed version 2.0.4-9ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

klibc

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.0.7-1ubuntu5.1 (ecosystem)

Fixed versions

2.0.7-1ubuntu5.1

Fix

  • Fixed version 2.0.7-1ubuntu5.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences