e3959a0390
This release fixes the following Security Vulnerabilities: - CVE-2022-42898 PAC parse integer overflows - CVE-2022-3437 Overflows and non-constant time leaks in DES{,3} and arcfour - CVE-2022-41916 Fix Unicode normalization read of 1 bytes past end of array - CVE-2021-44758 NULL dereference DoS in SPNEGO acceptors - CVE-2021-3671 A null pointer de-reference when handling missing sname in TGS-REQ - CVE-2022-44640 Heimdal KDC: invalid free in ASN.1 codec Note that CVE-2022-44640 is a severe vulnerability, possibly a 10.0 on the Common Vulnerability Scoring System (CVSS) v3, as we believe it should be possible to get an RCE on a KDC, which means that credentials can be compromised that can be used to impersonate anyone in a realm or forest of realms. Heimdal's ASN.1 compiler generates code that allows specially crafted DER encodings of CHOICEs to invoke the wrong free function on the decoded structure upon decode error. This is known to impact the Heimdal KDC, leading to an invalid free() of an address partly or wholly under the control of the attacker, in turn leading to a potential remote code execution (RCE) vulnerability. This error affects the DER codec for all extensible CHOICE types used in Heimdal, though not all cases will be exploitable. We have not completed a thorough analysis of all the Heimdal components affected, thus the Kerberos client, the X.509 library, and other parts, may be affected as well. This bug has been in Heimdal's ASN.1 compiler since 2005, but it may only affect Heimdal 1.6 and up. It was first reported by Douglas Bagnall, though it had been found independently by the Heimdal maintainers via fuzzing a few weeks earlier. While no zero-day exploit is known, such an exploit will likely be available soon after public disclosure. - CVE-2019-14870: Validate client attributes in protocol-transition - CVE-2019-14870: Apply forwardable policy in protocol-transition - CVE-2019-14870: Always lookup impersonate client in DB Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# heimdal
|
|
#
|
|
################################################################################
|
|
|
|
HEIMDAL_VERSION = 7.7.1
|
|
HEIMDAL_SITE = https://github.com/heimdal/heimdal/releases/download/heimdal-$(HEIMDAL_VERSION)
|
|
HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
|
|
HEIMDAL_INSTALL_STAGING = YES
|
|
# static because of -fPIC issues with e2fsprogs on x86_64 host
|
|
HOST_HEIMDAL_CONF_OPTS = \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--without-openldap \
|
|
--without-capng \
|
|
--with-db-type-preference= \
|
|
--without-sqlite3 \
|
|
--without-libintl \
|
|
--without-openssl \
|
|
--without-berkeley-db \
|
|
--without-readline \
|
|
--without-libedit \
|
|
--without-hesiod \
|
|
--without-x \
|
|
--disable-mdb-db \
|
|
--disable-ndbm-db \
|
|
--disable-heimdal-documentation
|
|
|
|
# Don't use compile_et from e2fsprogs as it raises a build failure with samba4
|
|
HOST_HEIMDAL_CONF_ENV = ac_cv_prog_COMPILE_ET=no MAKEINFO=true
|
|
HEIMDAL_LICENSE = BSD-3-Clause
|
|
HEIMDAL_LICENSE_FILES = LICENSE
|
|
HEIMDAL_CPE_ID_VENDOR = heimdal_project
|
|
|
|
# We need compile_et for samba4
|
|
define HOST_HEIMDAL_INSTALL_COMPILE_ET
|
|
$(INSTALL) -m 0755 $(@D)/lib/com_err/compile_et \
|
|
$(HOST_DIR)/bin/compile_et
|
|
endef
|
|
|
|
# We need asn1_compile in the PATH for samba4
|
|
define HOST_HEIMDAL_MAKE_SYMLINK
|
|
ln -sf $(HOST_DIR)/libexec/heimdal/asn1_compile \
|
|
$(HOST_DIR)/bin/asn1_compile
|
|
endef
|
|
|
|
HOST_HEIMDAL_POST_INSTALL_HOOKS += \
|
|
HOST_HEIMDAL_INSTALL_COMPILE_ET \
|
|
HOST_HEIMDAL_MAKE_SYMLINK
|
|
|
|
$(eval $(host-autotools-package))
|