1. 05 Jan, 2015 1 commit
    • Dr. Stephen Henson's avatar
      Fix various certificate fingerprint issues. · 684400ce
      Dr. Stephen Henson authored
      
      
      By using non-DER or invalid encodings outside the signed portion of a
      certificate the fingerprint can be changed without breaking the signature.
      Although no details of the signed portion of the certificate can be changed
      this can cause problems with some applications: e.g. those using the
      certificate fingerprint for blacklists.
      
      1. Reject signatures with non zero unused bits.
      
      If the BIT STRING containing the signature has non zero unused bits reject
      the signature. All current signature algorithms require zero unused bits.
      
      2. Check certificate algorithm consistency.
      
      Check the AlgorithmIdentifier inside TBS matches the one in the
      certificate signature. NB: this will result in signature failure
      errors for some broken certificates.
      
      3. Check DSA/ECDSA signatures use DER.
      
      Reencode DSA/ECDSA signatures and compare with the original received
      signature. Return an error if there is a mismatch.
      
      This will reject various cases including garbage after signature
      (thanks to Antti Karjalainen and Tuomo Untinen from the Codenomicon CROSS
      program for discovering this case) and use of BER or invalid ASN.1 INTEGERs
      (negative or with leading zeroes).
      
      CVE-2014-8275
      Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
      684400ce
  2. 28 Dec, 2014 1 commit
  3. 25 Dec, 2014 1 commit
  4. 22 Dec, 2014 2 commits
  5. 20 Dec, 2014 1 commit
  6. 18 Dec, 2014 2 commits
  7. 17 Dec, 2014 1 commit
  8. 08 Dec, 2014 1 commit
  9. 04 Dec, 2014 1 commit
  10. 20 Nov, 2014 5 commits
  11. 28 Oct, 2014 1 commit
    • Emilia Kasper's avatar
      Tighten session ticket handling · d663df23
      Emilia Kasper authored
      
      
      Tighten client-side session ticket handling during renegotiation:
      ensure that the client only accepts a session ticket if the server sends
      the extension anew in the ServerHello. Previously, a TLS client would
      reuse the old extension state and thus accept a session ticket if one was
      announced in the initial ServerHello.
      
      Reviewed-by: default avatarBodo Moeller <bodo@openssl.org>
      d663df23
  12. 27 Oct, 2014 2 commits
  13. 22 Oct, 2014 1 commit
  14. 15 Oct, 2014 2 commits
  15. 02 Oct, 2014 1 commit
  16. 29 Sep, 2014 2 commits
  17. 23 Sep, 2014 2 commits
  18. 05 Sep, 2014 1 commit
  19. 15 Aug, 2014 1 commit
  20. 01 Aug, 2014 3 commits
  21. 22 Jul, 2014 1 commit
  22. 04 Jul, 2014 1 commit
  23. 01 Jun, 2014 1 commit
  24. 23 May, 2014 1 commit
  25. 26 Apr, 2014 2 commits
  26. 22 Apr, 2014 1 commit
  27. 07 Apr, 2014 1 commit
    • Dr. Stephen Henson's avatar
      Add heartbeat extension bounds check. · 731f4314
      Dr. Stephen Henson authored
      A missing bounds check in the handling of the TLS heartbeat extension
      can be used to reveal up to 64k of memory to a connected client or
      server.
      
      Thanks for Neel Mehta of Google Security for discovering this bug and to
      Adam Langley <agl@chromium.org> and Bodo Moeller <bmoeller@acm.org> for
      preparing the fix (CVE-2014-0160)
      (cherry picked from commit 96db9023)
      731f4314