zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ | patch |
https://usn.ubuntu.com/3764-1/ | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201805-10 | third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2018:1932 | third party advisory vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1563395 | third party advisory issue tracking |
https://access.redhat.com/errata/RHSA-2018:3073 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html | mailing list |