Skip to content

Commit

Permalink
security/easy-rsa: report weak build-ca crypto on CA private keys
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mandree committed Jan 31, 2025
1 parent d8c76b9 commit cccf137
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion security/easy-rsa/Makefile
Original file line number Diff line number Diff line change
@@ -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}/ \
Expand Down
18 changes: 18 additions & 0 deletions security/easy-rsa/files/pkg-message.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****

19 changes: 0 additions & 19 deletions security/easy-rsa/pkg-message

This file was deleted.

0 comments on commit cccf137

Please sign in to comment.