Skip to content

4.14.0

Latest

Choose a tag to compare

@fedelemantuano fedelemantuano released this 04 Dec 23:19
· 1 commit to develop since this release

Security

This release fixes GHSA-x356-qggw-x7x5 and GHSA-3q4c-32qp-r6gg (no CVE identifier assigned yet).

  • Sender IP spoofing in get_server_ipaddress() (GHSA-x356-qggw-x7x5): an address the sender wrote before a HELO marker in the comment of the from clause could be returned as the sender IP. Text around a HELO marker is no longer a candidate, and a hop that names two different addresses names no sender IP: the method returns None and the hop is reported as ambiguous-sender-address in received_header_defects.
  • Attachment lost in write_attachments() (GHSA-3q4c-32qp-r6gg): two attachments whose names the filesystem takes for one file (trailing dots and spaces on Windows, letter case, Unicode normalization forms) replaced each other without a defect. The filesystem now decides whether two names of one batch are one file, and each attachment is written under a name of its own.

Behavior change: get_server_ipaddress() fails closed in more cases. A trusted hop whose from clause is ambiguous now returns None where earlier releases returned an address.

Thanks to:
@nicholaswilliamsons09

What's Changed

Full Changelog: 4.13.0...4.14.0