Azure Virtual Machine Scale Set Package Vulnerabilities

Ho, Keith D 180 Reputation points
2024-10-07T19:13:57.9666667+00:00

I currently have a Virtual Machine Scale Set deployed and it is currently pointing to a specific image I have chosen. There is a critical vulnerability associated with a package inside this image. I want to upgrade that package. Is there any way I can upgrade the package directly without changing the image I am using?

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
436 questions
{count} votes

Accepted answer
  1. deherman-MSFT 37,971 Reputation points Microsoft Employee
    2024-10-07T20:32:34.03+00:00

    @Ho, Keith D

    If you are using a base image and not a custom image Automatic Guest Patching might be an option for you.

    However, if you are using a custom image, you will need to use either Automatic OS Image Upgrades (only available if using Uniform Orchestration mode) or update the VMSS Image.

    Alternatively, you could update the individual VMs, however this would not automatically update new VMs. Perhaps a workaround would be to update the VMSS custom data.

    You can setup the appropriate Upgrade Policy so that updates to the OSImage will not have impact on your workload.

    Hope this helps. Let me know if you have specific questions or run into any issues.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.