Skip to content

[AutoPR- Security] Patch azurelinux-image-tools for CVE-2026-39882, CVE-2026-29181 [MEDIUM]#16799

Open
azurelinux-security wants to merge 3 commits intomicrosoft:3.0-devfrom
azurelinux-security:azure-autosec/azurelinux-image-tools/3.0/1100805
Open

[AutoPR- Security] Patch azurelinux-image-tools for CVE-2026-39882, CVE-2026-29181 [MEDIUM]#16799
azurelinux-security wants to merge 3 commits intomicrosoft:3.0-devfrom
azurelinux-security:azure-autosec/azurelinux-image-tools/3.0/1100805

Conversation

@azurelinux-security
Copy link
Copy Markdown
Contributor

@azurelinux-security azurelinux-security commented Apr 22, 2026

Auto Patch azurelinux-image-tools for CVE-2026-39882, CVE-2026-29181.

Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1100805&view=results

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

Change Log
Does this affect the toolchain?

YES/NO

Associated issues
  • N/A
Links to CVEs
Test Methodology

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Apr 22, 2026
@v-aaditya
Copy link
Copy Markdown
Contributor

v-aaditya commented Apr 23, 2026

CVE-2026-29181:

  1. The package azurelinux-image-tools is affected by this CVE as it has vendor package OpenTelemetry-Go which is in affected range >= 1.36.0, <= 1.40.0.
  2. The upstream patch has been backported manually.
  3. The patch matches with upstream patch except the changes in test files are not included as the test files are not present in our version of source code.
  4. The local build was successful.

CVE-2026-39882:

  1. The package azurelinux-image-tools is affected by this CVE as it has vendor package OpenTelemetry-Go which is in affected range.
    image

  2. The upstream patch has been backported manually.

  3. The patch matches with upstream patch except the changes in test files are not included as the test files are not present in our version of source code.

  4. The local build was successful.

@v-aaditya
Copy link
Copy Markdown
Contributor

Buddy Build has been trigerred !

@v-aaditya
Copy link
Copy Markdown
Contributor

Buddy Build has been trigerred !

Buddy Build has passed !

@Kanishk-Bansal Kanishk-Bansal marked this pull request as ready for review April 23, 2026 13:53
@Kanishk-Bansal Kanishk-Bansal requested a review from a team as a code owner April 23, 2026 13:53
@@ -3,7 +3,7 @@
Summary: Azure Linux Image Tools
Name: azurelinux-image-tools
Version: 1.2.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we not bumping to 1.3 ?


This uses non-deterministic truncation when handling baggage limits.

Upstream Patch Reference: https://github.com/open-telemetry/opentelemetry-go/commit/aa1894e09e3fe66860c7885cb40f98901b35277f.patch
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I will upgrade the package and check.

@v-aaditya
Copy link
Copy Markdown
Contributor

v-aaditya commented Apr 28, 2026

The azurelinux-image-tools package has been upgraded to version 1.3.0 and the CVE-2026-27141, CVE-2026-29181 and CVE-2026-39882 does not affect the respective vendor packages as they are not in affected range. Please refer below screenshot -
image

The Local Build was successful.
The Installation/Uninstallation could not be confirmed on docker image as there are some issues related to AzureLinux repo on docker image.

Copy link
Copy Markdown
Member

@mfrw mfrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's please also change the title of the PR

%{_bindir}/osmodifier

%changelog
* Tue Apr 28 2026 Aditya Singh <v-aditysing@@microsoft.com> - 1.3.0-1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please have this in a single line

@v-aaditya
Copy link
Copy Markdown
Contributor

v-aaditya commented Apr 28, 2026

Let's please also change the title of the PR

Kanishk has asked me to create a new PR for this upgrade, therefore creating a new PR for the same and will update changelog history there.

The new upgrade PR - #16916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants