[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2015-01-06 Thread STINNER Victor
STINNER Victor added the comment: Can we close this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list mailing

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2015-01-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think so, thank you. -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-25 Thread Robert Kuska
Robert Kuska added the comment: FYI fedora (rawhide) has SSLv3 disabled in SSLv23 method of openssl package. http://pkgs.fedoraproject.org/cgit/openssl.git/commit/?id=80b5477597e9f0d9fababd854adfb4988b37efd5 This looks like the same approach as in attached issue22638.diff. -- nosy:

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I was looking into a 2.7 backport but it turns out _create_stdlib_context() isn't used anywhere in 2.7 (yet?), so the backport wouldn't achieve anything. I will backport to 3.4 at least. -- versions: -Python 3.3

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 653dfb1240d5 by Antoine Pitrou in branch '3.4': Issue #22638: SSLv3 is now disabled throughout the standard library. https://hg.python.org/cpython/rev/653dfb1240d5 -- ___ Python tracker

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-23 Thread Alex Gaynor
Alex Gaynor added the comment: In a post-pep476 world, this method will be used on Python2.7, so it would be good to backport now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset f762cbb712de by Antoine Pitrou in branch '2.7': Backport disabling of SSLv3 in ssl._create_stdlib_context() (issue #22638). https://hg.python.org/cpython/rev/f762cbb712de -- ___ Python tracker

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, this is done. Is there anything left in this issue? -- versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-22 Thread Federico Ceratto
Federico Ceratto added the comment: FYI Debian dropped ssl.PROTOCOL_SSLv3 from Python 2.7 in the upcoming Jessie release: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768611 -- nosy: +federico3 ___ Python tracker rep...@bugs.python.org

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: FYI Debian dropped ssl.PROTOCOL_SSLv3 from Python 2.7 in the upcoming Jessie release: This is not really what the Debian patch does. What it does is allow the ssl module to compile if SSLv3 is disabled in the OpenSSL build. --

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-22 Thread Donald Stufft
Donald Stufft added the comment: Right, they did that because Debian has disabled SSLv3 in OpenSSL in Jessie. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: If that's the case, then I agree we can backport e971f3c57502 to the bugfix branches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-11-22 Thread Donald Stufft
Donald Stufft added the comment: Yea see: http://sources.debian.net/src/openssl/1.0.2~beta3-1/debian/rules/#L29 The configure options they are running with are: no-idea no-mdc2 no-rc5 no-zlib enable-tlsext no-ssl2 no-ssl3 no-ssl3-method enable-unit-test --

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-18 Thread Alex Gaynor
Alex Gaynor added the comment: Benjamin, do you have an opinion on backporting this to 2.7? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e971f3c57502 by Antoine Pitrou in branch 'default': Issue #22638: SSLv3 is now disabled throughout the standard library. https://hg.python.org/cpython/rev/e971f3c57502 -- nosy: +python-dev ___ Python

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, I've disabled SSLv3 in _create_stdlib_context() for the next feature release (3.5). By the time it is released, we can consider SSLv3 will be dead. Related news: - Opera doesn't disable SSLv3 yet, but implements custom countermeasures:

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: As for bugfix releases, I think we should take the time and consider what other software packages will decide. -- versions: -Python 3.1, Python 3.2, Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Matthew Green posted a nice explanation of the attack: http://blog.cryptographyengineering.com/2014/10/attack-of-week-poodle.html In short, currently it requires injection of code into the browser (i.e. SSL client) to be exploitable. While that's easy on the

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... of course, stdlib servers don't use create_stdlib_context() in 2.7. We'll have to do it by hand :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Cory Benfield
Cory Benfield added the comment: I don't believe it's in OpenSSL though. There's an outstanding OpenSSL patch: http://marc.info/?l=openssl-devm=141333049205629w=2 However, as Donald has pointed out, this is really only meaningful for servers and co-operating clients. It's not a useful

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Update on 2.7: - there are no SSL servers in the stdlib (ha) - SSL clients don't do any auto-downgrading so it's not obvious we should patch something (if people choose to pass PROTOCOL_SSLv3, it's their problem). Update on 3.4: - the only SSL server in the

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Martin Richard
Changes by Martin Richard mart...@martiusweb.net: -- nosy: +martius ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___ ___ Python-bugs-list

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Christian Heimes
Christian Heimes added the comment: There is no need for a _create_stdlib_server_context() function. _create_stdlib_context() takes a purpose argument, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Donald Stufft
Donald Stufft added the comment: I really don't think it's unreasonable to say SSL 3.0 is insecure, if you rely on it then you need to pass this flag to use it. Passing a flag to do something insecure is hardly onerous. -- ___ Python tracker

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread STINNER Victor
STINNER Victor added the comment: I read the table explaining how SSL/TLS is negociated between the client and the server: https://docs.python.org/2.7/library/ssl.html#ssl.wrap_socket I don't understand how I can ask to use TLS, prefer the most recent version, but don't use SSL? Should I use

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Donald Stufft
Donald Stufft added the comment: The naming of SSLv23 is sort of unfortunate, that will negotiate the highest version of SSL 2.0, SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2 that both the client and the server support. You can modify the list of what protocols are supported using the ssl.OP_NO_*

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Ismail Donmez
Ismail Donmez added the comment: FWIW OpenSSL patch is now upstream https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=cf6da05304d554aaa885151451aa4ecaa977e601 https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fb0e87fb67a358b40a1d56d2df3a611a09899780 -- nosy:

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 15/10/2014 14:03, STINNER Victor a écrit : create_default_context() uses PROTOCOL_SSLv23 with OP_NO_SSLv2 and OP_NO_SSLv3. I don't understand: we ask to use SSL version 2 or 3 but we disable SSLv2 and SSLv3? PROTOCOL_SSLv23 is badly named (blame OpenSSL).

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 15/10/2014 13:07, Donald Stufft a écrit : I really don't think it's unreasonable to say SSL 3.0 is insecure, if you rely on it then you need to pass this flag to use it. Passing a flag to do something insecure is hardly onerous. Your position is

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread STINNER Victor
New submission from STINNER Victor: Copy of Donald Stuff email sent to python-dev: A big security breach of SSL 3.0 just dropped a little while ago (named POODLE). With this there is now no ability to securely connect via SSL 3.0. I believe that we should disable SSL 3.0 in Python similarly to

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Alex Gaynor
Alex Gaynor added the comment: This patch disables SSLv3 by default for Python. Uesrs can get it back by specifiying SSL_PROTOCOLv3 explicitly. -- keywords: +needs review, patch nosy: +alex Added file: http://bugs.python.org/file36926/issue22638.diff

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Disabling SSL 3.0 support, or CBC-mode ciphers with SSL 3.0, is sufficient to mitigate this issue, but presents significant compatibility problems, even today. Therefore our recommended response is to support TLS_FALLBACK_SCSV. This is a mechanism that solves

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: IOW, I think it may be ok to disable SSLv3 in create_default_context(), but not necessarily in other contexts. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Alex Gaynor
Alex Gaynor added the comment: create_default_context already disables SSLv3! (Good work everybody :-)) FWIW many vendors are already moving to disable SSLv3, e.g. cloudflare already did. -- ___ Python tracker rep...@bugs.python.org

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: How many times will it have to be repeated that SSL is used for other things than HTTPS-on-the-Web? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Donald Stufft
Donald Stufft added the comment: I think it's fine to disable it all together. Google is planning/hoping to kill SSL 3.0 completely from their clients in the next couple of months. They just don't want to release a patch that disables SSL 3.0 right today. --

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Donald Stufft
Donald Stufft added the comment: I don't know, how many times will it have to be repeated that secure defaults matter? SSL 3.0 can be turned back on easily enough, it isn't a hard shut off. It changes the default just like what was done with SSLv2.0. --

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: The difference is that SSLv2 had been dead for long already. We don't have any statistic about SSLv3 servers in the wild, but I'd be surprised if they had turned entirely negligible. -- ___ Python tracker

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Alex Gaynor
Alex Gaynor added the comment: CloudFlare published some statistics: https://blog.cloudflare.com/sslv3-support-disabled-by-default-due-to-vulnerability/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Donald Stufft
Donald Stufft added the comment: There's also https://www.trustworthyinternet.org/ssl-pulse/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Alex Gaynor
Alex Gaynor added the comment: Debian is also considering this, and link some statistics on IE6 specifically (one of the, if not the single, largest SSLv3 users): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765347 -- ___ Python tracker

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: On the Web, there is indeed a good reaction time to security issues (especially in large providers). That may not be the case for all the other SSL services out there. Since TLS_FALLBACK_SCSV is the recommended solution (not to mention it will work against

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Alex Gaynor
Alex Gaynor added the comment: It's been implemented in boringssl: https://boringssl.googlesource.com/boringssl/+/2970779684c6f164a0e261e96a3d59f331123320 I don't believe it's in OpenSSL though. -- ___ Python tracker rep...@bugs.python.org

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note the Debian issue is specifically for Apache, not the OpenSSL package. If Debian decides to disable SSLv3 in its OpenSSL package, then it will be a pretty good hint that we can do so as well :-) -- ___ Python

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Donald Stufft
Donald Stufft added the comment: OpenSSL generally doesn't have bad options disabled until they are years old. OpenSSL takes the stance that it's up to the consumers of the OpenSSL API to properly configure themselves. Also it's important to note that TLS_FALLBACK_SCSV isn't actually a work

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: OpenSSL generally doesn't have bad options disabled until they are years old. OpenSSL takes the stance that it's up to the consumers of the OpenSSL API to properly configure themselves. The point is, if they start exposing it, we can enable it ourselves.

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22638 ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-14 Thread Donald Stufft
Donald Stufft added the comment: Firefox is planning to disable SSL 3.0 as well - https://blog.mozilla.org/security/2014/10/14/the-poodle-attack-and-the-end-of-ssl-3-0/ SSLv3 will be disabled by default in Firefox 34, which will be released on Nov 25. --