Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4457725

NameConstraintsExtension.verify sometimes returns false when it shouldn't

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta2
    • generic
    • generic

      NameConstraintsExtension.verify(GeneralNameInterface name) does not properly handle the case where a name to be verified matches or narrows one of the permitted names, but widens or does not match (SAME_TYPE) a subsequent permitted name. It should return true, indicating that the name is OK. Instead, it returns false. This causes our CertPathValidator and CertPathBuilder implementations to reject the name (and therefore the path).

      The problem only occurs if the NameConstraintsExtension has more than
      one permitted name of the same type.

            smalkanisunw Seema Malkani (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: