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 created issue -
          Emilio Escobar made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Emilio Escobar made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Jesse Glick made changes -
          Labels Original: lts-candidate New: lts-candidate robustness
          Oliver Gondža made changes -
          Labels Original: lts-candidate robustness New: robustness
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-2532 (Web Link)" [ 18260 ]

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

              Created:
              Updated:
              Resolved: