Skip to content
  1. Nov 16, 2017
  2. Nov 13, 2017
  3. Nov 11, 2017
  4. Nov 10, 2017
  5. Nov 08, 2017
  6. Nov 07, 2017
  7. Nov 05, 2017
  8. Nov 03, 2017
  9. Nov 02, 2017
  10. Nov 01, 2017
  11. Oct 31, 2017
  12. Oct 30, 2017
  13. Oct 28, 2017
  14. Oct 27, 2017
  15. Oct 26, 2017
    • Matt Caswell's avatar
      Don't use strcasecmp and strncasecmp for IA5 strings · 6d2fbe91
      Matt Caswell authored
      
      
      The functions strcasecmp() and strncasecmp() will use locale specific rules
      when performing comparison. This could cause some problems in certain
      locales. For example in the Turkish locale an 'I' character is not the
      uppercase version of 'i'. However IA5 strings should not use locale specific
      rules, i.e. for an IA5 string 'I' is uppercase 'i' even if using the
      Turkish locale.
      
      This fixes a bug in name constraints checking reported by Thomas Pornin
      (NCCGroup).
      
      This is not considered a security issue because it would require both a
      Turkish locale (or other locale with similar issues) and malfeasance by
      a trusted name-constrained CA for a certificate to pass name constraints
      in error. The constraints also have to be for excluded sub-trees which are
      extremely rare. Failure to match permitted subtrees is a bug, not a
      vulnerability.
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4569)
      
      (cherry picked from commit 9cde5f81)
      6d2fbe91