1. 14 Apr, 2018 3 commits
    • Miss Islington (bot)'s avatar
      [2.7] bpo-33184: Update macOS installer build to use OpenSSL 1.0.2o. (GH-6408) (GH-6471) · 01a0fd4a
      Miss Islington (bot) authored
      (cherry picked from commit 76215a4481191b648de522a4e2120f60822f6b9c)
      Co-authored-by: default avatarNed Deily <nad@python.org>
      01a0fd4a
    • Ned Deily's avatar
      93c91ac8
    • Ned Deily's avatar
      [2.7] Backport macOS universal build and installer fixes from 3.6. (GH-6469) · ee8e4b61
      Ned Deily authored
      These include:
      
      - bpo-32726: Provide an additional, more modern macOS installer variant that
        supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied
        third-party libraries to OpenSSL 1.0.2n and SQLite 3.22.0. The 10.9+
        installer now supplies its own private copy of Tcl/Tk 8.6.8.
      
      - bpo-24414: Default macOS deployment target is now set by ``configure`` to
        the build system's OS version (as is done by Python 3), not ``10.4``;
        override with, for example, ``./configure MACOSX_DEPLOYMENT_TARGET=10.4``.
      
      - bpo-19019: All 2.7 macOS installer variants now supply their own version
        of ``OpenSSL 1.0.2``; the Apple-supplied SSL libraries and root
        certificates are not longer used.  The ``Installer Certificate`` command
        in ``/Applications/Python 2.7`` may be used to download and install a
        default set of root certificates from the third-party ``certifi`` package.
      
      - bpo-11485: python.org macOS Pythons no longer supply a default SDK value
        (e.g. ``-isysroot /``) or specific compiler version default (e.g.
        ``gcc-4.2``) when building extension modules.  Use ``CC``, ``SDKROOT``,
        and ``DEVELOPER_DIR`` environment variables to override compilers or to
        use an SDK.  See Apple's ``xcrun`` man page for more info.
      
      - prepare for pending Apple removal of 32-bit support in future macOS release
      ee8e4b61
  2. 10 Apr, 2018 1 commit
  3. 07 Apr, 2018 1 commit
  4. 02 Apr, 2018 1 commit
  5. 01 Apr, 2018 1 commit
  6. 31 Mar, 2018 4 commits
  7. 28 Mar, 2018 1 commit
  8. 26 Mar, 2018 2 commits
  9. 24 Mar, 2018 2 commits
  10. 22 Mar, 2018 1 commit
  11. 21 Mar, 2018 1 commit
  12. 17 Mar, 2018 1 commit
  13. 13 Mar, 2018 1 commit
  14. 11 Mar, 2018 1 commit
  15. 09 Mar, 2018 1 commit
  16. 06 Mar, 2018 1 commit
    • Jamie Davis's avatar
      [2.7] closes bpo-32997: Fix REDOS in fpformat (GH-5984) · 55d5bfba
      Jamie Davis authored
      The regex to decode a number in fpformat is susceptible to catastrophic backtracking. This is a potential DOS vector if a server is using fpformat on untrusted number strings.
      
      Replace it with an equivalent non-vulnerable regex. The match behavior of the new regex is slightly different. It captures the whole integer part of the number in one group, Leading zeros are stripped off later.
      55d5bfba
  17. 04 Mar, 2018 1 commit
    • Benjamin Peterson's avatar
      [2.7] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) · e052d40c
      Benjamin Peterson authored
      * 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: default avatarTim Peters <tim.peters@gmail.com>
      Co-authored-by: Christian Heimes <christian@python.org>.
      (cherry picked from commit 0e6c8ee2)
      e052d40c
  18. 02 Mar, 2018 1 commit
  19. 01 Mar, 2018 1 commit
  20. 26 Feb, 2018 1 commit
  21. 25 Feb, 2018 10 commits
  22. 24 Feb, 2018 1 commit
  23. 23 Feb, 2018 2 commits