In utils.c in zsh before 5.0.6, there is a buffer overflow when scanning very long directory paths for symbolic links.
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://usn.ubuntu.com/3593-1/ | vendor advisory |
https://access.redhat.com/errata/RHSA-2018:1932 | vendor advisory |
https://sourceforge.net/p/zsh/code/ci/3e06aeabd8a9e8384ebaa8b08996cd1f64737210 | third party advisory patch |
https://access.redhat.com/errata/RHSA-2018:3073 | vendor advisory |