Versions mentioned in the description apply to the upstream
Remediation section below for
Debian:9 relevant versions.
APT before 1.0.4 does not properly validate source packages, which allows man-in-the-middle attackers to download and install Trojan horse packages by removing the Release signature.
apt to version 1.0.4 or higher.