aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-22 13:05:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-22 13:05:29 -0300
commitfbe243dbcf2b24d3ce02b823fe625c940249bde1 (patch)
tree953102fc081295cdb38cb007ad528e9ae904a6d3
parent93993e9f08c934e955a0ca7830ea95af91974875 (diff)
downloadaports-fbe243dbcf2b24d3ce02b823fe625c940249bde1.tar.gz
aports-fbe243dbcf2b24d3ce02b823fe625c940249bde1.tar.bz2
aports-fbe243dbcf2b24d3ce02b823fe625c940249bde1.tar.xz
main/cryptsetup: fix CVE-2020-14382
See: #11969
-rw-r--r--main/cryptsetup/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD
index a58c0408e0..8bba60cee6 100644
--- a/main/cryptsetup/APKBUILD
+++ b/main/cryptsetup/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cryptsetup
pkgver=2.3.2
-pkgrel=0
+pkgrel=1
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
url="https://gitlab.com/cryptsetup/cryptsetup"
arch="all"
@@ -16,8 +16,13 @@ source="https://www.kernel.org/pub/linux/utils/cryptsetup/v${pkgver%.*}/cryptset
flush-stdout.patch
dmcrypt.confd
dmcrypt.initd
+ CVE-2020-14382.patch::https://gitlab.com/cryptsetup/cryptsetup/-/commit/52f5cb8cedf22fb3e14c744814ec8af7614146c7.patch
"
+# secfixes:
+# 2.3.2-r1:
+# - CVE-2020-14382
+
build() {
./configure \
--build="$CBUILD" \
@@ -58,4 +63,5 @@ libs() {
sha512sums="a3e8694e52b2d92269f74d5c796a18ef3bf8fe8b082192b1a31090542ca95392f4909218581eb9df5c79a465a03ef08e25df3358c382a7ab1394e9df276357df cryptsetup-2.3.2.tar.gz
dc896fdb7697d01443a168819f01af02db00a9de75589f062a1ebbfc0bc185b6d2109b18352309c41b818e3ad89609dcea3660d6f3cda890de825f053f94de97 flush-stdout.patch
74422d5e1614b43af894ea01da1ea80d805ec7f77981cbb80a6b1a4becad737a8825d7269812499095a7f50d39fa7da5bf4e4edae63529b1fe87b9176943a733 dmcrypt.confd
-81dad61cdecf1dc529b26eb3cdc15979a582c876b01268f88e7a71c8fae6911137c03bfa63fee64e064e5fb31f673610be27ecab9fc432229f13e7040698bd5c dmcrypt.initd"
+81dad61cdecf1dc529b26eb3cdc15979a582c876b01268f88e7a71c8fae6911137c03bfa63fee64e064e5fb31f673610be27ecab9fc432229f13e7040698bd5c dmcrypt.initd
+5a8e68f4efc68a34a917c298ccf7d45a67adb67de06bf3560d58a01b4d6c77c52b868af9f322c3b82789c2e890f120e5c6e56b96f8cff083413301f24a6befc1 CVE-2020-14382.patch"