From nobody Fri Jan 31 21:07:51 2025 X-Original-To: dev-commits-ports-main@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 4Yl7lD2YmVz5n6m6; Fri, 31 Jan 2025 21:07:52 +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 4Yl7lD1vgcz3ZF9; Fri, 31 Jan 2025 21:07:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738357672; 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=0Rle6gxtM52nRuKR+yJcqUU50Bd5UcFv7vWv28vE68E=; b=fHMY8C82v5guvrZNd4KBL10nEygQ8WNtPjHd0U+lo1v7br3HNxZNAj94F8wWIaK9lIurwz cnED3cI0LFw9mBOHYzdD7JUmbnKSlOhXYzZhxkaaDN3aaxp4dPe66q6Z7WMchi6U9FdaX1 718CWiep6OiofQPjUZRsgCcVNrjXvj2wOtON14tbqQEVKAeX1b3tjAevARAz6K9u+krghf NnfQObFybrkMPASrKk6UbdbPEz8/Hg7JVdZYPrup+FfH6zgybRMC12EjAQg6mQrWkktVaV saOjkADKYd7xbt1W+KI6FtHY01p4a8kVSuTIEhPdC6u6tnrE5ECzxHcPmJNnyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738357672; 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=0Rle6gxtM52nRuKR+yJcqUU50Bd5UcFv7vWv28vE68E=; b=hfh2fj8CIHROMuspSAop7L3P28CCrp0yqhJBmCk16IkYu0Kwo+XLX2DEIUgy/lxBe1vws7 x4Ja7FiKHhoWr6wVK6wb3Vnh91Er4+R6p6LPcUV5nPBkfGGjKr/QXhd0VABTd7ivSbrypy lmJhfFSaIxUqyRWPcBeUmYODRKIDqmUjw9+pjDyPO5uS3/JG38fEGmW1S2uv3Hdx4EdLXZ EYl6naxOMLB24I0Dw58pUOhHda3VvztrSOxurrmX9fix9A+fJNMHKqtGihLlAsZGUknC5W DnlE8heA+wwBe/crSjZRclVhqeMCtYGMmjmHMlssS5+MNcunSgbVuaSNGmuOyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738357672; a=rsa-sha256; cv=none; b=R4iueGCSGsnH2CHeNuHbkNAIjPhPJV0UnhbWLEHSRabTs+DI+LZoc5tDtpvlLx6H4t1MTR dMLu0qBSPAWtcFKTc+yxWS9HgBicXnaF36lPHsCBPgdUid6H1iasDcAt1HuDcEqoMWKT43 gocpDH9u6/6ZcjPkYcbphmOXidT5/lAoF4cEaVo0Ayu+cM4T8awEMq82NeavHyGYdKJx8A WG6kKhxNM1okFDGN75VnhpTxZuNS/3kxV3DIVtM99mTBY24hb7WQFHRRz+VcwAEZiJg9A0 3RrzzEuqJVoj8lnOCQvIdaXuMH1f0rQNRT0ZB/hUauL6LCj+h+GQ1sWKA0j4KA== 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 4Yl7lD1BD3zb72; Fri, 31 Jan 2025 21:07:52 +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 50VL7paE000710; Fri, 31 Jan 2025 21:07:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50VL7paW000707; Fri, 31 Jan 2025 21:07:51 GMT (envelope-from git) Date: Fri, 31 Jan 2025 21:07:51 GMT Message-Id: <202501312107.50VL7paW000707@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Subject: git: cccf1379f3cf - main - security/easy-rsa: report weak build-ca crypto on CA private keys List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: cccf1379f3cfc4148193c63927393bcf9eda1264 Auto-Submitted: auto-generated The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=cccf1379f3cfc4148193c63927393bcf9eda1264 commit cccf1379f3cfc4148193c63927393bcf9eda1264 Author: Matthias Andree AuthorDate: 2025-01-31 21:06:09 +0000 Commit: Matthias Andree CommitDate: 2025-01-31 21:07:29 +0000 security/easy-rsa: report weak build-ca crypto on CA private keys This version folds the message into files/pkg-message.in (which overwrote pkg-message in PORTREVISION 2 of this change.) 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 --- security/easy-rsa/Makefile | 2 +- security/easy-rsa/files/pkg-message.in | 18 ++++++++++++++++++ security/easy-rsa/pkg-message | 19 ------------------- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile index 621d400b5700..9eda71b01c86 100644 --- a/security/easy-rsa/Makefile +++ b/security/easy-rsa/Makefile @@ -1,6 +1,6 @@ PORTNAME= easy-rsa DISTVERSION= 3.2.1 -PORTREVISION= 2 +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 **** + diff --git a/security/easy-rsa/pkg-message b/security/easy-rsa/pkg-message deleted file mode 100644 index 4878550b10ba..000000000000 --- a/security/easy-rsa/pkg-message +++ /dev/null @@ -1,19 +0,0 @@ - -**** 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 **** -