CVE-2014-10071

In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax

published February 27, 2018

CVSS
—
EPSS
3%
Percentile
85.8
In the wild
Unconfirmed
What it is

⚠️ A long file descriptor is all it takes to trigger this buffer overflow in zsh! Before version 5.0.7, the "&> fd" syntax is a ticking time bomb waiting to go off! 💣 Think of this like a crowded elevator that can't handle its maximum capacity. If too many people (or overly long fds) try to squeeze in, the doors can jam, causing a huge problem for everyone inside! 🚪🤯 In this case, an attacker could exploit the overflow, potentially crashing the shell or executing malicious commands. While currently categorized as unknown severity, the implications could be frustrating for users, leading to unexpected behavior in their terminal sessions.

Put simply

Think of this like a crowded elevator that can't handle its maximum capacity. If too many people (or overly long fds) try to squeeze in, the doors can jam, causing a huge problem for everyone inside! 🚪🤯 This vulnerability allows for a buffer overflow when very long file descriptors are used in the "&> fd" syntax, which can overwrite memory and provoke instability in the zsh shell.

What to do

In this case, an attacker could exploit the overflow, potentially crashing the shell or executing malicious commands. While currently categorized as unknown severity, the implications could be frustrating for users, leading to unexpected behavior in their terminal sessions. To protect yourself, update zsh to version 5.0.7 or later, as this version contains the fix. Regularly audit your environment and ensure that you're not using outdated versions of critical software. You've got this! Fixing this vulnerability is straightforward, and with these steps, you'll keep your shell safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02715 · 85.8th percentile
Published
2018-02-27T22:00Z
EPSS history
Timeline
  • 27 FEB 22:00Z
    In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax
    cvelistv5