Compliancemanzill.com
CIS Microsoft Azure Foundations Benchmark v1.4.0

CIS Microsoft Azure Foundations Benchmark v1.4.0/AppService/112 of 115

9.8Ensure that 'Java version' is the latest, if used to run the Web App

Control family: AppService

Control description

Periodically, newer versions are released for Java software either due to security flaws or to include additional functionality. Using the latest Java version for web apps is recommended in order to take advantage of security fixes, if any, and/or new functionalities of the newer version.

How to implement

ResponsibilityCustomerYou configure and operate this in your own cloud accounts.

Java versions and their servers get security fixes for a limited time. Apps that run on Java stay on a current supported version, and move before their version retires.

Before you start

The same on every cloud, before the steps in the tabs.

  • Agree how quickly apps move to a new Java version after its release, and how they are tested first.

Evidence

  • The runtime upgrade standard for Java apps

On Azure the tasks set the Java version in each app's stack settings, then keep watch for versions nearing retirement.

Task 1Move the app to a supported Java version

  1. Sign in to the Azure portal at portal.azure.com and open App Services, then the app.
  2. Select Settings > Configuration and the Stack settings tab (on some apps, General settings).
  3. Choose the latest supported Java version that the app has been tested with.
  4. Select Save and confirm the restart, ideally on a staging slot first and then swap.
  5. Check it: the app runs on the new Java version and its tests pass.

Task 2Watch for versions nearing retirement

  1. Open Advisor and its service upgrade and retirement recommendations.
  2. Look for App Service apps whose Java version is due to retire.
  3. Plan each upgrade before the retirement date and record it.

Evidence

  • The stack settings of each app, showing a supported Java version
  • The retirement recommendations, with no app on a retiring version

Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.