Skip to content

Commit 63f7588

Browse files
authored
Update agent-notes.md
adding pwsh command to update extension version
1 parent ad46c06 commit 63f7588

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/governance/machine-configuration/agent-notes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ In this release, various improvements were made.
3131

3232
## Fixed
3333

34-
- Resolves local elevation of privilege vulnerability [CVE-2022-38007](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-38007)
35-
- Improved error handling
34+
- Resolves local elevation of privilege vulnerability [CVE-2022-38007](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-38007).
35+
- To ensure that this vulnerability is addressed, if you are currently running a version of the AzurePolicyforLinux extension older than 1.26.38, please use the PowerShell command below to update your extension to the latest version.
36+
37+
```powershell
38+
Set-AzVMExtension -Publisher 'Microsoft.GuestConfiguration' -Type 'ConfigurationforLinux' -Name 'AzurePolicyforLinux' -TypeHandlerVersion 1.26.38 -ResourceGroupName 'myResourceGroup' -Location 'myLocation' -VMName 'myVM' -EnableAutomaticUpgrade $true
39+
```
3640

3741
## Next steps
3842

0 commit comments

Comments
 (0)