Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900521 - mail-filter/opendmarc: Crashing due to ARC-Seal Headers in Email
Summary: mail-filter/opendmarc: Crashing due to ARC-Seal Headers in Email
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL: https://github.com/trusteddomainproje...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-03-09 10:47 UTC by Reuben Farrelly
Modified: 2024-01-26 20:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Farrelly 2023-03-09 10:47:26 UTC
Refer upstream bug report and fix:

https://github.com/trusteddomainproject/OpenDMARC/issues/183

This was a fairly serious issue for me.  I have postfix using opendkim as a milter and a remote sender (ironically, the Postfix announce mailing list) was able to send a correctly formatted email in and completely crash my mail system because opendmarc could not handle the ARC header length.  Even if I restarted opendmarc, when the remote re-attempted to send in again it crashed opendmarc once more over and over.

I have applied the patch in the upstream bug report and this has resolved the issue.  The issue report above also indicates that the patch is already in Debian.  Given development upstream has slowed significantly and there haven't been any new releases for some time, I suggest Gentoo include this patch in the tree for our opendmarc builds.

I am using opendmarc-1.4.1.1-r5.ebuild but the same problem will affect both ebuilds in the tree.
Comment 1 Larry the Git Cow gentoo-dev 2024-01-26 20:21:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e2b5b66dfbd80001a280ef9e3c066903d70ffb

commit 00e2b5b66dfbd80001a280ef9e3c066903d70ffb
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-01-26 20:20:48 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-01-26 20:21:43 +0000

    mail-filter/opendmarc-1.4.1.1-r6: add patch for arc-seal headers crash
    
    Closes: https://bugs.gentoo.org/900521
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 .../files/opendmarc-1.4.1.1-arc-seal-crash.patch   | 38 ++++++++++++++++++++++
 ...4.1.1-r4.ebuild => opendmarc-1.4.1.1-r6.ebuild} |  7 ++--
 2 files changed, 42 insertions(+), 3 deletions(-)