HomeFreeBSD

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

Description

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

(cherry picked from commit 72dd8d2ee6760ed9a0f22fb2c2e750d5875518d4)

Details

Provenance
vvdAuthored on Aug 16 2024, 6:31 PM
Parents
R11:be3a49808366: dns/unbound: Update 1.20.0 → 1.21.0
Branches
Unknown
Tags
Unknown