Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47500

Secret.decrypt launches ArrayIndexOutOfBoundsException when data is "{}"

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      Since Jenkins LTS 2.32.2

      There is no array length check so an ArrayIndexOutOfBoundsException is launched when data is "{}".

      https://github.com/jenkinsci/jenkins/blob/jenkins-2.32.2/core/src/main/java/hudson/util/Secret.java#L170-L177

          [JENKINS-47500] Secret.decrypt launches ArrayIndexOutOfBoundsException when data is "{}"

          Emilio Escobar added a comment - The PR has been merged https://github.com/jenkinsci/jenkins/pull/3097

          Jesse Glick added a comment -

          Do not see any particular need for something like this to be backported; there should be no user impact under normal conditions IIUC.

          Jesse Glick added a comment - Do not see any particular need for something like this to be backported; there should be no user impact under normal conditions IIUC.

            escoem Emilio Escobar
            escoem Emilio Escobar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: