From bdc4d70a7e033b754e68a8659a037ea0fc5f38de Mon Sep 17 00:00:00 2001 From: dana Date: Tue, 21 Dec 2021 13:13:33 -0600 Subject: CVE-2021-45444: Update NEWS/README --- NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 964e1633f..327b449a0 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,26 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH Note also the list of incompatibilities in the README file. +Changes since 5.8 +----------------- + +CVE-2021-45444: Some prompt expansion sequences, such as %F, support +'arguments' which are themselves expanded in case they contain colour +values, etc. This additional expansion would trigger PROMPT_SUBST +evaluation, if enabled. This could be abused to execute code the user +didn't expect. e.g., given a certain prompt configuration, an attacker +could trick a user into executing arbitrary code by having them check +out a Git branch with a specially crafted name. + +This is fixed in the shell itself by no longer performing PROMPT_SUBST +evaluation on these prompt-expansion arguments. + +Users who are concerned about an exploit but unable to update their +binaries may apply the partial work-around described in the file +Etc/CVE-2021-45444-VCS_Info-workaround.patch included with the shell +source. [ Reported by RyotaK . Additional thanks to +Marc Cornellà . ] + Changes since 5.7.1-test-3 -------------------------- -- cgit 1.4.1