An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() function may result in an integer overflow and a subsequent heap buffer overflow.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://kernel.org/pub/linux/libs/klibc/2.0/ | release notes third party advisory |
https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2 | third party advisory patch |
https://lists.zytor.com/archives/klibc/2021-April/004593.html | release notes third party advisory mailing list |
http://www.openwall.com/lists/oss-security/2021/04/30/1 | release notes third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2021/06/msg00025.html | third party advisory mailing list |