Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4696

Endless loop in OCSP certificate check

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.17
    • 2.0.18, 3.0.0 PDFBox
    • Crypto
    • None

    Description

      There's an endless loop when checking the certificate of an OCSP response with a specific TSA. Solution: CertificateVerifier.verifyOCSP must make sure when checking the certificate of the responder that this isn't the certificate it is checking right now.

      There's also a recursion in AddValidationInformation.addOcspData() which then calls updateVRI(), which ends up checking the certificate again later, so I'll use a set to prevent that to happen.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: