Integer Overflow or Wraparound Affecting glibc-minimal-langpack package, versions <0:2.28-164.el8
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-GLIBCMINIMALLANGPACK-2140494
- published 26 Jul 2021
- disclosed 30 Jun 2021
Introduced: 30 Jun 2021
CVE-2021-35942 Open this link in a new tabHow to fix?
Upgrade Centos:8
glibc-minimal-langpack
to version 0:2.28-164.el8 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream glibc-minimal-langpack
package and not the glibc-minimal-langpack
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or disclosure of information. This occurs because atoi was used but strtoul should have been used to ensure correct calculations.
References
- https://security.netapp.com/advisory/ntap-20210827-0005/
- https://sourceware.org/bugzilla/show_bug.cgi?id=28011
- https://sourceware.org/git/?p=glibc.git;a=commit;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c
- https://access.redhat.com/security/cve/CVE-2021-35942
- https://sourceware.org/glibc/wiki/Security%20Exceptions
- https://access.redhat.com/errata/RHSA-2021:4358
- https://security.gentoo.org/glsa/202208-24
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html
- https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c