Skip to content

[High] patch reaper for CVE-2025-48387 & CVE-2024-6484 #13965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025

Conversation

jykanase
Copy link
Contributor

@jykanase jykanase commented Jun 6, 2025

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

patch reaper for CVE-2025-48387 and CVE-2024-6484
CVE-2025-48387
https://nvd.nist.gov/vuln/detail/CVE-2025-48387 mentions here mafintosh/tar-fs@647447b that fixes this CVE.
patch details:
patch does not apply cleanly as function sequence in the index.js file is different from upstream patch.
So, Arranged the sequence of function in the patch manually to apply cleanly because upstream has fixed for version 3.0.9 of tar-fs and we have tar-fs version is 1.16.2.

CVE-2024-6484
Astrolabe Reference: odinserj/bootstrap@0ea568b
Added #13636 to avoid conflict.

Change Log
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Verified the patches are applied correctly.
    Screenshot 2025-06-10 175528

@jykanase jykanase requested a review from a team as a code owner June 6, 2025 06:20
@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging fasttrack/2.0 PRs Destined for Azure Linux 2.0 labels Jun 6, 2025
@Kanishk-Bansal
Copy link
Contributor

/azurepipeline run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@Kanishk-Bansal Kanishk-Bansal left a comment

Choose a reason for hiding this comment

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

Patch is not getting applied, Kindly add patching command.

@jykanase jykanase marked this pull request as draft June 9, 2025 04:13
@Kanishk-Bansal
Copy link
Contributor

can conflict with #13636

@jykanase jykanase force-pushed the topic_reaper-2.0 branch 2 times, most recently from a8c71dd to 71ec9a8 Compare June 10, 2025 08:27
@jykanase
Copy link
Contributor Author

Patch is not getting applied, Kindly add patching command.

Added.

@jykanase jykanase marked this pull request as ready for review June 10, 2025 11:32
@aaruag
Copy link

aaruag commented Jun 10, 2025

/azurepipelines run

Copy link

Commenter does not have sufficient privileges for PR 13965 in repo microsoft/azurelinux

@sameluch
Copy link
Contributor

/AzurePipelines Run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Kanishk-Bansal Kanishk-Bansal changed the title [High] patch reaper for CVE-2025-48387 [High] patch reaper for CVE-2025-48387 & CVE-2024-6484 Jun 10, 2025
@Kanishk-Bansal Kanishk-Bansal self-requested a review June 10, 2025 19:53
Copy link
Contributor

@sameluch sameluch left a comment

Choose a reason for hiding this comment

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

LGTM and Aarushi

@jslobodzian jslobodzian merged commit 6ba8798 into microsoft:fasttrack/2.0 Jun 11, 2025
19 of 22 checks passed
CBL-Mariner-Bot pushed a commit that referenced this pull request Jun 11, 2025
@CBL-Mariner-Bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fasttrack/2.0 PRs Destined for Azure Linux 2.0 Packaging security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants