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

Windows DisplayVersion registry value does not match the installed version

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • packaging
    • None
    • Windows Server 2022

      When you install Jenkins 2.387.3, there is a registry key called DisplayVersion which is set as 2.255.3873 which is incorrect. This is the case for a fresh installation and also if you do an inplace upgrade to 2.387.3. The key VersionMinor is also incorrect it appears.

          [JENKINS-71361] Windows DisplayVersion registry value does not match the installed version

          Marcin added a comment -

          We have the same problem but with the newest version of Jenkins.
          Today I have upgraded to the newest available version but registry shows as

          DisplayName: 2.277.2

          DisplayVersion: 2.255.277.2

           

          It makes me a lot problemes becasue CrowdStrike discovered Jenkins as unpatched and sends us a lot of alerts.
          Can anyone fix it?

          Marcin added a comment - We have the same problem but with the newest version of Jenkins. Today I have upgraded to the newest available version but registry shows as DisplayName: 2.277.2 DisplayVersion: 2.255.277.2   It makes me a lot problemes becasue CrowdStrike discovered Jenkins as unpatched and sends us a lot of alerts. Can anyone fix it?

          Mark Waite added a comment -

          When you install Jenkins 2.387.3, there is a registry key called DisplayVersion which is set as 2.255.3873 which is incorrect

          Actually, that is not incorrect. That is intentional because the Windows version fields allow 8 bits for the left most field, 8 bits for the second field, and more bits for the later fields.

          The Jenkins version 2.387.3 cannot be represented directly in the Windows DisplayVersion value because 387 is greater than the maximum value of 255.

          With regard to CrowdStrike, you'll need to advise them that they are making an invalid assumption about the behavior of Jenkins when installed with the MSI package. The MSI package assumes that the initial installation is performed from the MSI, then upgrades are performed without using the MSI.

          Mark Waite added a comment - When you install Jenkins 2.387.3, there is a registry key called DisplayVersion which is set as 2.255.3873 which is incorrect Actually, that is not incorrect. That is intentional because the Windows version fields allow 8 bits for the left most field, 8 bits for the second field, and more bits for the later fields. The Jenkins version 2.387.3 cannot be represented directly in the Windows DisplayVersion value because 387 is greater than the maximum value of 255. With regard to CrowdStrike, you'll need to advise them that they are making an invalid assumption about the behavior of Jenkins when installed with the MSI package. The MSI package assumes that the initial installation is performed from the MSI, then upgrades are performed without using the MSI.

            Unassigned Unassigned
            chrislynch8 Chris
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: