The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://sourceware.org/bugzilla/show_bug.cgi?id=22320 | issue tracking third party advisory patch |
http://www.securityfocus.com/bid/101521 | vdb entry |
https://access.redhat.com/errata/RHSA-2018:1879 | vendor advisory |
https://access.redhat.com/errata/RHSA-2018:0805 | vendor advisory |