Distro advisory · Fedora 45
perl-Mail-SPF-3.20261105-1.fc45
Fedora 45
What it fixes
Changes:
3.20261105 2026-11-06 Australia/Melbourne
** Thanks to Giovanni g.bechis@snb.it for these changes:
RFC 7208 says there MUST be a limit of no more than 10 MX records looked up and checked; throw a permerror when the limit is exceeded instead of silently truncating the list
RFC 7208 says implementations SHOULD limit "void lookups" to two; enable the corresponding regression tests
Ensure every module's $VERSION is set by Dist::Zilla at release time, and manage the version number in README the same way
Security: escape untrusted text in the Received-SPF header to prevent header field injection:
Fix macro expansion stopping at the first line break in a macro string, leaving later macros unexpanded
Security: authority_explanation now escapes control and non-ASCII characters in the explanation string (exp= TXT record) published in DNS, and document that the result text() may contain untrusted data
Remove the check for includes of the same domain through CNAME aliases. Including a domain and a CNAME alias of it is legal in RFC 7208, but the check tried to throw a hard fail for it. With a real resolver it read an unpopulated Net::DNS internal field and so in practice did nothing, but where it did take effect (e.g. with Net::DNS::Resolver::Programmable) it could wrongly fail authorized senders, and it used CNAME targets from DNS as unescaped regular expressions, which could make process() die. It also made an extra CNAME lookup per include that was not counted towards the RFC 7208 DNS lookup and void lookup limits. The test suite's resolver now…
Manual fix · Fedora 45
sudo dnf upgrade perl-Mail-SPF perl-Mail-SPF-testsrpm -q perl-Mail-SPF perl-Mail-SPF-testsSources