From nobody Fri Jan 31 21:12:26 2025 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 4Yl7rV54Bxz5n7Tt; Fri, 31 Jan 2025 21:12:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yl7rV3yMPz3b04; Fri, 31 Jan 2025 21:12:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738357946; 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=nzPWYrIr9oeZy9Ot0e1YJ+Uczgbpa+YUKxN40Ef0nZw=; b=sxtND8sgjdOaBtdkEeKoFOkp2OC2+YHFfw8m3sFdHPP3SPwUtwH2N6uyTDw1UcbhYSi3ua nu7Po9ympktpMKjfH/eU82ANRxssIzhZcfREyHFeCRN7j45jcyejsmLLoMADIq+yYHx9Kg RRVT9CC1NqCHRVTFWwfybARnqyNnPjFLMESmCHCGO6AbM1edRk8eojKfaEPJRSVqGmQkHx anKxmQ315pLcSkowzhtdyr1Nbdqc2BsQcMyG51NSSrzS5V1ltOsYxnwaIwa2BoFtY3wrzh xhR/elPDyB9DkfDYMiLa8YmeUuaUNd1KqiIKqtCllk5DAx/UtTsJZT0tlqjgRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738357946; 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=nzPWYrIr9oeZy9Ot0e1YJ+Uczgbpa+YUKxN40Ef0nZw=; b=MkeEdEiIx2hR5JiTcvV6bt9SB/wb7stVzYM56KoMPMZiTBt5xyKlaOgRsw2AOUNdurTW4Z kXAIK8fFf4tXT9eSrE0P5nXuqxwgqs2qEZS7+h+l89RBkQNSyrYYdb9ko4eovqthWJUTiu 7hEdMdWmnnfscFzuMTC6ltI7rK/SShkPDmL5anzAv0gIc0g7TZ4EIkWgcjZ2psQ5l7jMzX ehM7Cqym8Y5jo4AMy1D0Cgg+skzPafuKzvPAwSQLhoqCLxLlc42QFT1C+Ud0l/LNnFX/Je JIAj+ynfQhtbnvtYJaPlcisAFRCDD+wfJknglgX6d6I0hUNcZOGGh6j9qcKWmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738357946; a=rsa-sha256; cv=none; b=EzwCvis+2O5vJPQMTpM7+nJzzHy1HTzcSGDb8Bzwy1CXXUAZRruu6nXNGw3yuVTc4OOgIb g2lCffRkPQmCdlVjdyZ1u4WxPvD+v1o/NPZ4uGwIEmqUx5fiDWMtkRcUs2DS9CiTJkNZK1 JDrDWpPfKAQk37oET3Ifg4msMNosmp3ECHyeJyk2Z32zHzo82KKcG1dQExmZoaQtHynX8T MM4ifbyWNi0gkcGSEbB+m3BTzOmOdQ6DFj4V6zl/O6QaLdNniJvfV760tb4mQSfU4EUF5v Kk2sTrbZGyLt8TY0zFzwGTlu0LawCCZU8/PsWS2YatcQm7Y5rwVlWy+7uj2fXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Yl7rV3XdRzbZg; Fri, 31 Jan 2025 21:12:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50VLCQfS013969; Fri, 31 Jan 2025 21:12:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50VLCQtW013966; Fri, 31 Jan 2025 21:12:26 GMT (envelope-from git) Date: Fri, 31 Jan 2025 21:12:26 GMT Message-Id: <202501312112.50VLCQtW013966@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Matthias Andree Subject: git: e8b825e62c8e - 2025Q1 - security/easy-rsa: report weak build-ca crypto on CA private keys 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: e8b825e62c8ed415b2e9b37c78304f7ad044fb63 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8b825e62c8ed415b2e9b37c78304f7ad044fb63 commit e8b825e62c8ed415b2e9b37c78304f7ad044fb63 Author: Matthias Andree AuthorDate: 2025-01-31 21:10:58 +0000 Commit: Matthias Andree CommitDate: 2025-01-31 21:11:43 +0000 security/easy-rsa: report weak build-ca crypto on CA private keys By adding to UPDATING and pkg-message, and bumping PORTREVISION so as to trigger updates that show these messages so that easyrsa users can re-encrypt their CA private keys with AES instead of Triple-DES. It is pointless to add vuln.xml, supported port branch versions, main and 2025Q1, already carry a bugfixed Easy-RSA version. Reported by: pkelsey@ Security: CVE-2024-13454 MFH: 2025Q1 (cherry picked from commit d8c76b98576f28d468d2aa9ecd6b7d8cad93046f) (cherry picked from commit cccf1379f3cfc4148193c63927393bcf9eda1264) --- UPDATING | 15 +++++++++++++++ security/easy-rsa/Makefile | 2 +- security/easy-rsa/files/pkg-message.in | 18 ++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/UPDATING b/UPDATING index 7c86848c4d8d..6afd5780e242 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,21 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20250131: + AFFECTS: users of security/easy-rsa + AUTHOR: mandree@FreeBSD.org + + easy-rsa (easyrsa) versions between 3.0.5 and 3.1.7 inclusively + may have chosen the wrong, a weak, cipher (des-ede3-cbc) when + encrypting the CA private keys with the build-ca command, when + running on a system where openssl was OpenSSL 3. + + Such CA private keys should be re-encrypted with a stronger cipher + in order to protect them better, after upgrading EasyRSA to 3.2.1. + To that end, the easyrsa set-pass ca command can be used. + + Details: https://community.openvpn.net/openvpn/wiki/CVE-2024-13454 + 20250109: AFFECTS: users of www/kiwix-tools and devel/libkiwix AUTHOR: olce@FreeBSD.org diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile index e9599b1438cd..9eda71b01c86 100644 --- a/security/easy-rsa/Makefile +++ b/security/easy-rsa/Makefile @@ -1,6 +1,6 @@ PORTNAME= easy-rsa DISTVERSION= 3.2.1 -PORTREVISION= 1 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= security net-mgmt MASTER_SITES= https://github.com/OpenVPN/easy-rsa/releases/download/v${DISTVERSION}/ \ diff --git a/security/easy-rsa/files/pkg-message.in b/security/easy-rsa/files/pkg-message.in index 698bf9ad17fb..2efeed9ffba5 100644 --- a/security/easy-rsa/files/pkg-message.in +++ b/security/easy-rsa/files/pkg-message.in @@ -13,3 +13,21 @@ An on-line help is available, you can run: easyrsa help # for help on commands easyrsa help options # for help on options +**** SECURITY WARNING FOR PAST security/easy-rsa versions **** +**** easyrsa may have encrypted your CA private key with a weak cipher + +Per CVE-2024-13454, Easy-RSA 3.0.5 inclusively up to and including 3.1.7, +when used with OpenSSL 3, may have accidentally encrypted the CA private +key with a weak cipher, des-ede3-cbc, instead of the intended aes-256-cbc, +when a CA was created with the easyrsa build-ca command. + +Such mistakes cannot be corrected by upgrading Easy-RSA alone. + +The standing recommendation for CA private keys is to +re-encrypt the CA privat keys with the aes-256-cbc cipher, +by using the easyrsa set-pass ca command. + +For details, see https://community.openvpn.net/openvpn/wiki/CVE-2024-13454. + +**** END SECURITY WARNING FOR PAST security/easy-rsa versions **** +