1. 05 Jan, 2015 1 commit
    • Dr. Stephen Henson's avatar
      Fix various certificate fingerprint issues. · a8565530
      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>
      
      (cherry picked from commit 684400ce)
      a8565530
  2. 04 Jan, 2015 1 commit
  3. 02 Jan, 2015 1 commit
  4. 31 Dec, 2014 1 commit
  5. 30 Dec, 2014 4 commits
  6. 22 Dec, 2014 2 commits
  7. 20 Dec, 2014 1 commit
  8. 19 Dec, 2014 1 commit
  9. 18 Dec, 2014 1 commit
  10. 17 Dec, 2014 13 commits
  11. 16 Dec, 2014 3 commits
  12. 15 Dec, 2014 3 commits
  13. 13 Dec, 2014 2 commits
  14. 12 Dec, 2014 1 commit
  15. 08 Dec, 2014 2 commits
  16. 05 Dec, 2014 1 commit
    • Emilia Kasper's avatar
      Reject elliptic curve lists of odd lengths. · 321ba858
      Emilia Kasper authored
      
      
      The Supported Elliptic Curves extension contains a vector of NamedCurves
      of 2 bytes each, so the total length must be even. Accepting odd-length
      lists was observed to lead to a non-exploitable one-byte out-of-bounds
      read in the latest development branches (1.0.2 and master). Released
      versions of OpenSSL are not affected.
      
      Thanks to Felix Groebert of the Google Security Team for reporting this issue.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (cherry picked from commit 33d5ba86)
      321ba858
  17. 04 Dec, 2014 1 commit
  18. 03 Dec, 2014 1 commit