Out-of-bounds Write Affecting libcrypt package, versions <0:2.26-27.amzn2.0.4
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-AMZN2-LIBCRYPT-1661824
- published 27 Sep 2021
- disclosed 2 Feb 2018
How to fix?
Upgrade Amazon-Linux:2
libcrypt
to version 0:2.26-27.amzn2.0.4 or higher.
This issue was patched in ALAS2-2018-992
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libcrypt
package and not the libcrypt
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on powerpc, and only in version 2.26 on i386, did not properly handle malloc calls with arguments close to SIZE_MAX and could return a pointer to a heap region that is smaller than requested, eventually leading to heap corruption.
References
- https://security.netapp.com/advisory/ntap-20190404-0003/
- https://sourceware.org/bugzilla/show_bug.cgi?id=22774
- https://sourceware.org/git/?p=glibc.git;a=commit;h=8e448310d74b283c5cd02b9ed7fb997b47bf9b22
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6551
- https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=8e448310d74b283c5cd02b9ed7fb997b47bf9b22