Mageia 2022-0052: glibc security update
Summary
Updated glibc packages fix security vulnerability:
An off-by-one buffer overflow and underflow in getcwd() may lead to memory
corruption when the size of the buffer is exactly 1. A local attacker who
can control the input buffer and size passed to getcwd() in a setuid program
could use this flaw to potentially execute arbitrary code and escalate their
privileges on the system (CVE-2021-3999).
Other upstream fixes in this update:
- gconv: Do not emit spurious NUL character in ISO-2022-JP-3 [BZ #28524]
- x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ #28755]
- x86: Set Prefer_No_VZEROUPPER and add Prefer_AVX2_STRCMP
- x86-64: Add ifunc-avx2.h functions with 256-bit EVEX
- x86-64: Add strcpy family functions with 256-bit EVEX
- x86-64: Add memmove family functions with 256-bit EVEX
- x86-64: Add memset family functions with 256-bit EVEX
- x86-64: Add memcmp family functions with 256-bit EVEX
- x86-64: Add AVX optimized string/memory functions for RTM
- x86: Add string/memory function tes...
References
- https://bugs.mageia.org/show_bug.cgi?id=29935
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3999
Resolution
MGASA-2022-0052 - Updated glibc packages fix security vulnerability
SRPMS
- 8/core/glibc-2.32-25.mga8