mail/dovecot: update 2.3.21 → 2.3.21.1 (fixes 2 CVEs)

- CVE-2024-23184: A large number of address headers in email resulted
  in excessive CPU usage.
- CVE-2024-23185: Abnormally large email headers are now truncated or
  discarded, with a limit of 10MB on a single header and 50MB for all
  the headers of all the parts of an email.
- oauth2: Dovecot would send client_id and client_secret as POST parameters
  to introspection server. These need to be optionally in Basic auth
  instead as required by OIDC specification.
- oauth2: JWT key type check was too strict.
- oauth2: JWT token audience was not validated against client_id as
  required by OIDC specification.
- oauth2: XOAUTH2 and OAUTHBEARER mechanisms were not giving out
  protocol specific error message on all errors. This broke OIDC discovery.
- oauth2: JWT aud validation was not performed if aud was missing
  from token, but was configured on Dovecot.
https://dovecot.org/mailman3/hyperkitty/list/dovecot-news@dovecot.org/thread/2CSVL56LFPAXVLWMGXEIWZL736PSYHP5/

PR:		280866
Approved by:	ler (maintainer)
MFH:		2024Q3
This commit is contained in:
Vladimir Druzenko 2024-08-16 21:31:04 +03:00
parent 22da1eac89
commit 72dd8d2ee6
2 changed files with 4 additions and 6 deletions

View file

@ -9,8 +9,7 @@
######################################################################
PORTNAME= dovecot
PORTVERSION= 2.3.21
PORTREVISION= 6
DISTVERSION= 2.3.21.1
CATEGORIES= mail
MASTER_SITES= https://dovecot.org/releases/2.3/
@ -27,7 +26,6 @@ USES= cpe iconv libtool pkgconfig ssl
USE_RC_SUBR= dovecot
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --localstatedir=/var \
--with-docs \
--with-ssl=openssl \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1695133264
SHA256 (dovecot-2.3.21.tar.gz) = 05b11093a71c237c2ef309ad587510721cc93bbee6828251549fc1586c36502d
SIZE (dovecot-2.3.21.tar.gz) = 7837242
TIMESTAMP = 1723829732
SHA256 (dovecot-2.3.21.1.tar.gz) = 2d90a178c4297611088bf7daae5492a3bc3d5ab6328c3a032eb425d2c249097e
SIZE (dovecot-2.3.21.1.tar.gz) = 7842044