Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWEET32 mitigation: Disable Triple-DES #15400

Merged
merged 1 commit into from
Jul 26, 2017

Conversation

tiran
Copy link
Contributor

@tiran tiran commented Jul 21, 2017

Triple-DES (3DES-CBC, DES-CBC3) should no longer be used. It's an old
and slow block cipher with an effective key size of 112 bits. Since 3DES is
build around DES, it has a block size of 64 bits. 64 bit block ciphers
are vulnerable to a birthday attack known as SWEET32.

Since Origin requires a minimum TLS version of 1.2, 3DES can be disabled
safely. All relevant TLS 1.2 clients support AES.

Signed-off-by: Christian Heimes cheimes@redhat.com

@enj
Copy link
Contributor

enj commented Jul 21, 2017

@openshift/security

@openshift-merge-robot openshift-merge-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 24, 2017
@enj
Copy link
Contributor

enj commented Jul 25, 2017

LGTM but I will defer to @liggitt for final review

tls.TLS_RSA_WITH_AES_128_CBC_SHA, // forbidden by http/2
tls.TLS_RSA_WITH_AES_256_CBC_SHA, // forbidden by http/2
tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2
tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind dropping these, but I'd like to leave commented out breadcrumbs explaining why we're not including things from the intermediate suite and why, e.g.

// tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, // forbidden by http/2, disabled to mitigate SWEET32 attack
// tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA,       // forbidden by http/2, disabled to mitigate SWEET32 attack

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a very good idea. I have updated my PR.

Triple-DES (3DES-CBC, DES-CBC3) should no longer be used. It's an old
and slow block cipher with an effective key size of 112 bits. Since 3DES is
build around DES, it has a block size of 64 bits. 64 bit block ciphers
are vulnerable to a birthday attack known as SWEET32.

Since Origin requires a minimum TLS version of 1.2, 3DES can be disabled
safely. All relevant TLS 1.2 clients support AES.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@liggitt
Copy link
Contributor

liggitt commented Jul 26, 2017

/lgtm
/approve no-issue
/retest

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt, tiran

Associated issue requirement bypassed by: liggitt

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 26, 2017
@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 15434, 15382, 15018, 15314, 15400)

@openshift-merge-robot openshift-merge-robot merged commit 0d670d2 into openshift:master Jul 26, 2017
@tiran tiran deleted the tls_no_3des branch July 26, 2017 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/security lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants