Skip to content
  1. Sep 30, 2017
    • David Benjamin's avatar
      Guard against DoS in name constraints handling. · 329a004f
      David Benjamin authored
      
      
      This guards against the name constraints check consuming large amounts
      of CPU time when certificates in the presented chain contain an
      excessive number of names (specifically subject email names or subject
      alternative DNS names) and/or name constraints.
      
      Name constraints checking compares the names presented in a certificate
      against the name constraints included in a certificate higher up in the
      chain using two nested for loops.
      
      Move the name constraints check so that it happens after signature
      verification so peers cannot exploit this using a chain with invalid
      signatures. Also impose a hard limit on the number of name constraints
      check loop iterations to further mitigate the issue.
      
      Thanks to NCC for finding this issue. Fix written by Martin Kreichgauer.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4411)
      
      (cherry picked from commit 8545051c)
      
      Resolved conflicts:
      	crypto/x509v3/v3_ncons.c
      	test/recipes/25-test_verify.t
      329a004f
  2. Sep 29, 2017
  3. Sep 27, 2017
  4. Sep 26, 2017
  5. Sep 23, 2017
  6. Sep 21, 2017
  7. Sep 19, 2017
  8. Sep 17, 2017
  9. Sep 15, 2017
  10. Sep 12, 2017
  11. Sep 11, 2017
  12. Sep 08, 2017
  13. Sep 07, 2017
  14. Sep 06, 2017
  15. Sep 01, 2017
  16. Aug 31, 2017
  17. Aug 28, 2017
  18. Aug 26, 2017
  19. Aug 25, 2017
  20. Aug 24, 2017
  21. Aug 23, 2017
  22. Aug 21, 2017
  23. Aug 18, 2017