RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1868041 - Enable sendmail to stop using STARTTLS after a certain amount of previous failures
Summary: Enable sendmail to stop using STARTTLS after a certain amount of previous fai...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sendmail
Version: 8.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: 8.0
Assignee: Jaroslav Škarvada
QA Contact: Patrik Moško
Prerana Sharma
URL:
Whiteboard:
Depends On:
Blocks: 1894575
TreeView+ depends on / blocked
 
Reported: 2020-08-11 13:30 UTC by Daniele
Modified: 2024-06-13 22:55 UTC (History)
6 users (show)

Fixed In Version: sendmail-8.15.2-33.el8
Doc Type: Enhancement
Doc Text:
.Sendmail now supports `TLSFallbacktoClear` configuration With this enhancement, if the outgoing TLS connection fails, the sendmail client will fall back to the plaintext. This overcomes the TLS compatibility problems with the other parties. Red Hat ships sendmail with the `TLSFallbacktoClear` option disabled by default.
Clone Of:
Environment:
Last Closed: 2021-05-18 15:51:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Daniele 2020-08-11 13:30:48 UTC
Description of problem:
We would like to have the possibility to enable sending mails to smtp servers if TLS handshake fails during SMTP negotiation. 

Currently, the mail is never delivered unless the workaround mentioned in https://access.redhat.com/solutions/63306 is applied and TLS is explicitly disabled for specific site.

Would it be possible to integrate the sendmail patch http://www.sendmail.org/~ca/email/patches/tls_failures.p1 or confTLS_FALLBACK_TO_CLEAR option mentioned in 8.16.1 release? Described on
https://marc.info/?l=sendmail-announce&m=159394546814125&w=2

Version-Release number of selected component (if applicable):
8.15

How reproducible:
100%

Actual results:
A mail is never delivered if the TLS handshake fails.

Expected results:
have the possibility to enable sending mails to smtp servers if TLS handshake fails during SMTP negotiation. 

Additional info:
A patch for this already exists upstream (http://www.sendmail.org/~ca/email/patches/tls_failures.p1) and seems to be part of the 8.16.1 release (https://marc.info/?l=sendmail-announce&m=159394546814125&w=2). Downstream, we're shipping 8.15 and the only current workaround is to disable TLS completely: https://access.redhat.com/solutions/63306

Comment 2 Jaroslav Škarvada 2020-08-11 13:53:31 UTC
It seems upstream dropped tls_failures used in the mentioned patch and switched to the confTLS_FALLBACK_TO_CLEAR. I think we should backport confTLS_FALLBACK_TO_CLEAR to be consistent with the upstream. Also I like the confTLS_FALLBACK_TO_CLEAR approach more, because it's better configurable and it cannot happen that with the default configuration after the 5 re-tries it will switch to the plain connection as with the original patch. Such behaviour could surprise customers.

The backport of confTLS_FALLBACK_TO_CLEAR is doable and it doesn't seem to pose additional risk.

Comment 9 Jaroslav Škarvada 2020-10-15 23:05:14 UTC
There is possible security aspect of this backported feature. With the TLSFallbacktoClear enabled the attacker, if capable of doing the MITM attack, could malform the TLS packets which will lead to downgrade of the SMTP connection to the plaintext. Then the attacker will be able to read the content of the outgoing e-mails. I think this should be emphasized in the release notes for customers to know the risk of enablement of this features. We will ship sendmail with this feature disabled by default.

Comment 33 errata-xmlrpc 2021-05-18 15:51:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sendmail bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1858

Comment 34 Red Hat Bugzilla 2023-09-15 00:46:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.