Skip to content
  1. Jan 05, 2015
    • Dr. Stephen Henson's avatar
      Constify ASN1_TYPE_cmp add X509_ALGOR_cmp. · 5951cc00
      Dr. Stephen Henson authored
      
      
      Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
      (cherry picked from commit 4c52816d)
      5951cc00
    • 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. Jan 04, 2015
  3. Jan 02, 2015
  4. Dec 31, 2014
  5. Dec 30, 2014
  6. Dec 22, 2014
  7. Dec 20, 2014
  8. Dec 19, 2014
  9. Dec 18, 2014
  10. Dec 17, 2014
  11. Dec 16, 2014
  12. Dec 15, 2014
  13. Dec 13, 2014
  14. Dec 12, 2014
  15. Dec 08, 2014
  16. Dec 05, 2014
    • 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. Dec 04, 2014