From nobody Tue Nov 15 22:09:30 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NBgMH1tXmz4dBT5; Tue, 15 Nov 2022 22:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBgMH1Kwlz3FjP; Tue, 15 Nov 2022 22:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668550171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4S8FZr2Giai3SJID0UdGAjiWHXzWnxkf+7OqQ6hfaFQ=; b=qKnQrWfGCpOVz/N7nxJIzgmXeEOX0uM6a7nDSa1DB5EFKT+wWFIrrcgzJeOelrCFn15yYl Pta5bH9YNRJSMfQyI4mW17qmLZWNe2K1exHeQiza2Sei+4nCJ8g9YZNBG25V6F84yhTxXF D/pcon3wodTYrmoZSY68xzIFXbux8fPc7DGAAHB6fYfF+JG8PjWc0J7uXxMLG4FwVhZHc4 z3Gc0sHKCwzFaZjoyECeizk9mnLmjH0tjq5uXkG+un0pqbP4J9HlUlXMvWT41nRo4GWxfa mbOnIar+E1j5O/uZU2mYkoU+yysbkt5slrIHQK0IP7W7r3VK+e2IGF6WfvtH0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668550171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4S8FZr2Giai3SJID0UdGAjiWHXzWnxkf+7OqQ6hfaFQ=; b=JxUUcPwlZKiYLmgCE6R3mIJ+PM2VykHyOV0KLpSjTFqMrP7CJKyVUHHLIq0Xjc+aNPiUOp LfcAz+Av8m/xf9rvi7QvSAqKNYt7Abuw9fl+IVH7i5/qiBiGIxdysd2jDEQRwoJJWx9LTO 7OhPwys+Q5rca2MTnFiUJ+gB97RsTxKSYxE039Eyme1zC34/PllFcTPn8mBtTePvRSCzfg 0x9cDY1Vrl8AKDzBfpWcZrIrZyboPh7D1ofKrEUCk1t4PEhzOPT1y82aJsRL0qpRmJHGzq wMZrLUkzlqunAb8++8eWPeI/P7mnkUacxmvaWQbNP0ymEEXOfNNTrAPkbMqEZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668550171; a=rsa-sha256; cv=none; b=PZEaheqln5RnkpcCA6d9BZYjPyLiHN06NztcBSfNvd1AyCktG8qvP9GR3ESs40DVexgLN5 re2L96GYVufS7mxHPXYAU+vq3rSgeOSfSKjQtRyL3l6Ro3bGPmq7V2ywdFeo9IKjVC4EBl ExAxFiPl8u3zMknMDCfejZdeD9ZwQzDbsrKGuPQ+UBCIGEcfczW7hpS+jpJKf3FAtDqJNx vdVJq+wBsfQHFnrsE9kgSdiEdNI2DusKYn5UKJUOgok65tppGta/xm/HYAh/U/8pB0maMi EQoT0rQADwbqRhWEMSpAR7b6WhJwNJ+wgWzFndF0Xc8ZiqqmzOLYMGVpQjw7CQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NBgMH0PrZzdR5; Tue, 15 Nov 2022 22:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AFM9Vfb000983; Tue, 15 Nov 2022 22:09:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AFM9UoB000982; Tue, 15 Nov 2022 22:09:30 GMT (envelope-from git) Date: Tue, 15 Nov 2022 22:09:30 GMT Message-Id: <202211152209.2AFM9UoB000982@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 83f79ba0e0ca - main - security/heimdal: Update to 7.8.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83f79ba0e0caa8abed52887a693b7ab8074a590e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=83f79ba0e0caa8abed52887a693b7ab8074a590e commit 83f79ba0e0caa8abed52887a693b7ab8074a590e Author: Cy Schubert AuthorDate: 2022-11-15 21:39:00 +0000 Commit: Cy Schubert CommitDate: 2022-11-15 22:09:21 +0000 security/heimdal: Update to 7.8.0 This upgrade fixes multiple security vulnerabilities. The following issues are patched: - CVE-2022-42898 PAC parse integer overflows - CVE-2022-3437 Overflows and non-constant time leaks in DES{,3} and arcfour - CVE-2021-44758 NULL dereference DoS in SPNEGO acceptors - 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 Reported by: so (philip) Approved by: so (philip) MFH: 2022Q4 Security: Many, see above Sponsored by: so (philip) --- security/heimdal/Makefile | 3 +-- security/heimdal/distinfo | 6 +++--- security/heimdal/files/patch-lib-hdb-hdb-mitdb.c | 11 ----------- security/heimdal/pkg-plist | 2 +- 4 files changed, 5 insertions(+), 17 deletions(-) diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index e731686bdc09..f4d38c3ec0d4 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -1,6 +1,5 @@ PORTNAME= heimdal -PORTVERSION= 7.7.0 -PORTREVISION= 1 +PORTVERSION= 7.8.0 CATEGORIES= security MASTER_SITES= https://github.com/heimdal/heimdal/releases/download/${DISTNAME}/ diff --git a/security/heimdal/distinfo b/security/heimdal/distinfo index 57d4c81a32d2..87756529765f 100644 --- a/security/heimdal/distinfo +++ b/security/heimdal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1582089059 -SHA256 (heimdal-7.7.0.tar.gz) = f02d3314d634cc55eb9cf04a1eae0d96b293e45a1f837de9d894e800161b7d1b -SIZE (heimdal-7.7.0.tar.gz) = 10189293 +TIMESTAMP = 1668547194 +SHA256 (heimdal-7.8.0.tar.gz) = fd87a207846fa650fd377219adc4b8a8193e55904d8a752c2c3715b4155d8d38 +SIZE (heimdal-7.8.0.tar.gz) = 10024936 diff --git a/security/heimdal/files/patch-lib-hdb-hdb-mitdb.c b/security/heimdal/files/patch-lib-hdb-hdb-mitdb.c deleted file mode 100644 index 6360b40c8326..000000000000 --- a/security/heimdal/files/patch-lib-hdb-hdb-mitdb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/hdb/hdb-mitdb.c.orig 2019-06-07 06:21:39 UTC -+++ lib/hdb/hdb-mitdb.c -@@ -1116,7 +1116,7 @@ krb5_error_code - hdb_mitdb_create(krb5_context context, HDB **db, - const char *filename) - { -- MITDB **mdb (MITDB **)db; -+ MITDB **mdb = (MITDB **)db; - *mdb = calloc(1, sizeof(**mdb)); - if (*mdb == NULL) { - krb5_set_error_message(context, ENOMEM, "malloc: out of memory"); diff --git a/security/heimdal/pkg-plist b/security/heimdal/pkg-plist index 82a2359b3b9c..7c19b3414004 100644 --- a/security/heimdal/pkg-plist +++ b/security/heimdal/pkg-plist @@ -54,7 +54,6 @@ include/heimdal/hcrypto/evp-openssl.h include/heimdal/hcrypto/evp-pkcs11.h include/heimdal/hcrypto/evp.h include/heimdal/hcrypto/hmac.h -include/heimdal/hcrypto/md2.h include/heimdal/hcrypto/md4.h include/heimdal/hcrypto/md5.h include/heimdal/hcrypto/pkcs12.h @@ -986,6 +985,7 @@ man/man3/krb5_password_key_proc.3.gz man/man3/krb5_plugin_register.3.gz man/man3/krb5_prepend_config_files.3.gz man/man3/krb5_prepend_config_files_default.3.gz +man/man3/krb5_prepend_error_message.3.gz man/man3/krb5_princ_realm.3.gz man/man3/krb5_princ_set_realm.3.gz man/man3/krb5_principal.3.gz