An issue was discovered in Squid 3.x and 4.x through 4.8 when the append_domain setting is used (because the appended characters do not properly interact with hostname length restrictions). Due to incorrect message processing, it can inappropriately redirect traffic to origins it should not be delivered to.
https://www.debian.org/security/2020/dsa-4682
https://usn.ubuntu.com/4213-1/
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
https://lists.debian.org/debian-lts-announce/2019/12/msg00011.html
https://github.com/squid-cache/squid/pull/427