Remediate S360 vulnerable registry reference: patch microsoftgraph/powershell image + scheduled refresh#3668
Merged
ramsessanchez merged 1 commit intoJul 21, 2026
Conversation
…powershell image The image was published only on v* release tags and built FROM mcr.microsoft.com/powershell (floating latest), so the stored digest went stale between releases and accrued Ubuntu USN / PowerShell CVEs (S360 KPI 527fb616-07aa-8198-6419-50d04ef1c2f3, service Graph DevX). Changes: pin the base to a maintained *-ubuntu-22.04 tag via ARG PS_BASE_TAG (default lts-ubuntu-22.04); add .azure-pipelines/docker-image-refresh.yml, an image-only weekly rebuild (always:true) that republishes a patched digest without running the full release/sign/PSGallery stages. Co-authored-by: Copilot <[email protected]> Copilot-Session: d3f8fec7-b00b-46be-ba39-7e1f3e7f7188
ramsessanchez
approved these changes
Jul 21, 2026
ramsessanchez
deleted the
gavinbarron/remediate-vulnerable-powershell-image
branch
July 21, 2026 18:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Remediates the two S360 Replace Vulnerable Registry Reference action items for the Graph Developer Experiences service (KPI
527fb616-07aa-8198-6419-50d04ef1c2f3; ADO WI 40346 / 45587).Root cause
The
microsoftgraph/powershellimage is published only onv*release tags and builtFROM mcr.microsoft.com/powershell(floatinglatest). Between releases the stored digest goes stale and keeps accruing Ubuntu USN + PowerShell CVEs. The scanner flags the same image at two registries (msgraphprodregistry.azurecr.io/public/microsoftgraph/powershelland itsmcrprodpromotion).Changes
*-ubuntu-22.04tag viaARG PS_BASE_TAG(defaultlts-ubuntu-22.04) instead of floatinglatest.always: truerebuild that republishes a patched digest without running the full release/pack/sign/PSGallery stages (a scheduled run ofsdk-release.ymlwould be unsafe becauseDeploy_to_PsGalleryis guarded only bysucceeded()).Follow-up (needs prod ACR rights)
docker-image-refresh.ymlas a pipeline in the project and queue it once to publish the patched digest now.sha256:451a2570...bdcb20frommsgraphprodregistryandsha256:4882f9a2...78d1frommcrprod.