Moderate: glibc security, bug fix, and enhancement update

compat-libpthread-nonshared Updated 02 Oct 2025

Summary

09/11/2021
N/A
Yes i
Unrated
Not published

ALSA-2021:4358: Moderate: glibc security, bug fix, and enhancement update. Affects compat-libpthread-nonshared versions < 2.28-164.el8. Fixed in 2.28-164.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The glibc packages provide the standard C libraries (libc), POSIX thread libraries (libpthread), standard math libraries (libm), and the name service cache daemon (nscd) used by multiple programs on the system. Without these libraries, the Linux system cannot function correctly.

Vulnerability Detail

This update addresses multiple security vulnerabilities in glibc:

  1. Arbitrary read in wordexp() (CVE-2021-35942): This vulnerability could allow an attacker to read arbitrary memory locations, potentially leading to the disclosure of sensitive information.

  2. Use-after-free in addgetnetgrentX function in netgroupcache.c (CVE-2021-27645): This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service by manipulating netgroup cache entries.

  3. mq_notify does not handle separately allocated thread attributes (CVE-2021-33574): This vulnerability could allow an attacker to crash the application or potentially execute arbitrary code by exploiting a race condition.

For more details about these vulnerabilities, including their impact and CVSS scores, refer to the CVE pages listed in the References section.

How To Fix

Minimum fixed version

2.28-164.el8

This is the first release that contains the fix.

sudo dnf update compat-libpthread-nonshared

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

This update addresses multiple security vulnerabilities in glibc. It is recommended to update the glibc packages to the fixed versions to mitigate the risks associated with these vulnerabilities. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for compat-libpthread-nonshared →

Share this vulnerability

FAQ

glibc is the GNU C Library, which provides essential C libraries and services for the Linux system.

These vulnerabilities could allow an attacker to read arbitrary memory, execute arbitrary code, cause a denial of service, or potentially gain unauthorized access to sensitive information.

There are no known exploits for these vulnerabilities at the time of this advisory.

There is no known workaround for these vulnerabilities. It is recommended to update the glibc packages to the fixed versions.

You can find more information about these vulnerabilities, including their CVE pages, in the References section of this advisory.

Related vulnerabilities

Recent vulnerabilities recorded for compat-libpthread-nonshared.

How To Fix

Minimum fixed version

2.28-164.el8

This is the first release that contains the fix.

sudo dnf update compat-libpthread-nonshared

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback