1. 24 Mar, 2018 1 commit
  2. 22 Mar, 2018 1 commit
  3. 21 Mar, 2018 1 commit
  4. 17 Mar, 2018 1 commit
  5. 13 Mar, 2018 1 commit
  6. 11 Mar, 2018 1 commit
  7. 09 Mar, 2018 1 commit
  8. 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
  9. 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
  10. 02 Mar, 2018 1 commit
  11. 01 Mar, 2018 1 commit
  12. 26 Feb, 2018 1 commit
  13. 25 Feb, 2018 10 commits
  14. 24 Feb, 2018 1 commit
  15. 23 Feb, 2018 2 commits
  16. 21 Feb, 2018 2 commits
  17. 19 Feb, 2018 2 commits
  18. 18 Feb, 2018 1 commit
  19. 17 Feb, 2018 1 commit
  20. 14 Feb, 2018 3 commits
  21. 12 Feb, 2018 2 commits
  22. 11 Feb, 2018 3 commits
  23. 09 Feb, 2018 1 commit