Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/scripts/pacman-db-upgrade-v9.py
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2015-07-18 17:58:23 +0200
committerAllan McRae <allan@archlinux.org>2015-07-20 12:50:39 +1000
commitdeac9731884a83ad91eab9f27b288f406f56c87b (patch)
tree7c87d265e54cf3c64d5cd2a19aee3821e82f3389 /test/scripts/pacman-db-upgrade-v9.py
parent445aa3b52cfcd5630ec10d2ae2c8eeffa2b5c5de (diff)
ensure matching database and package version
While loading each package ensure that the internal version matches the expected database version to avoid the possibility to circumvent the version check. This issue can be used by an attacker to trick the software into installing an older version. The behavior can be exploited by a man-in-the-middle attack through specially crafted database tarball containing a higher version, yet actually delivering an older and vulnerable version, which was previously shipped. Signed-off-by: Levente Polyak <anthraxx@archlinux.org> Signed-off-by: Remi Gacogne <rgacogne@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/scripts/pacman-db-upgrade-v9.py')
0 files changed, 0 insertions, 0 deletions