- 25 Mar, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Harden ssl module against LibreSSL CVE-2018-8970. X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test ensures that NULL bytes are not allowed. Signed-off-by:
Christian Heimes <christian@python.org>
-
- 05 Mar, 2018 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 04 Mar, 2018 1 kayıt (commit)
-
-
Jamie Davis yazdı
* Prevent low-grade poplib REDOS (CVE-2018-1060) The regex to test a mail server's timestamp is susceptible to catastrophic backtracking on long evil responses from the server. Happily, the maximum length of malicious inputs is 2K thanks to a limit introduced in the fix for CVE-2013-1752. A 2KB evil response from the mail server would result in small slowdowns (milliseconds vs. microseconds) accumulated over many apop calls. This is a potential DOS vector via accumulated slowdowns. Replace it with a similar non-vulnerable regex. The new regex is RFC compliant. The old regex was non-compliant in edge cases. * Prevent difflib REDOS (CVE-2018-1061) The default regex for IS_LINE_JUNK is susceptible to catastrophic backtracking. This is a potential DOS vector. Replace it with an equivalent non-vulnerable regex. Also introduce unit and REDOS tests for difflib. Co-authored-by:
Tim Peters <tim.peters@gmail.com> Co-authored-by:
Christian Heimes <christian@python.org>
-
- 24 Şub, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Previously, the ssl module stored international domain names (IDNs) as U-labels. This is problematic for a number of reasons -- for example, it made it impossible for users to use a different version of IDNA than the one built into Python. After this change, we always convert to A-labels as soon as possible, and use them for all internal processing. In particular, server_hostname attribute is now an A-label, and on the server side there's a new sni_callback that receives the SNI servername as an A-label rather than a U-label.
-
- 19 Eyl, 2017 1 kayıt (commit)
-
-
Ned Deily yazdı
-
- 06 Eyl, 2017 2 kayıt (commit)
-
-
Devin Jeanpierre yazdı
Add basic fuzz tests for a few common builtin functions. This is an easy place to start, and these functions are probably safe. We'll want to add more fuzz tests later. Lets bootstrap using these. While the fuzz tests are included in CPython and compiled / tested on a very basic level inside CPython itself, the actual fuzzing happens as part of oss-fuzz (https://github.com/google/oss-fuzz). The reason to include the tests in CPython is to make sure that they're maintained as part of the CPython project, especially when (as some eventually will) they use internal implementation details in the test. (This will be necessary sometimes because e.g. the fuzz test should never enter Python's interpreter loop, whereas some APIs only expose themselves publicly as Python functions.) This particular set of changes is part of testing Python's builtins, tracked internally at Google by b/37562550. The _xxtestfuzz module that this change adds need not be shipped with binary distributions of Python.
-
Christian Heimes yazdı
SSLObject.version() now correctly returns None when handshake over BIO has not been performed yet. Signed-off-by:
Christian Heimes <christian@python.org>
-
- 05 Eyl, 2017 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
-
- 04 Eyl, 2017 1 kayıt (commit)
-
-
larryhastings yazdı
Blurbify master branch.
-
- 18 Agu, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat
-
- 22 Haz, 2017 1 kayıt (commit)
-
-
larryhastings yazdı
Add "Misc/NEWS.d" directory tree for "blurb". CPython workflow is changing! We're going to start using "blurb" to manage Misc/NEWS entries: https://github.com/python/core-workflow (This will be a big win for release managers, honest.) This checkin simply populates the "Misc/NEWS.d" subdirectory tree so that people can start putting their news entries in there. No other changes (yet).
-