azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

[Medium] Patch nodejs for CVE-2025-23167

Open akhila-guruju opened this issue 5 months ago • 2 comments

Merge Checklist

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

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

Summary

patch nodejs for CVE-2025-23167 Astrolabe Patch Reference: https://github.com/nodejs/node/pull/48981 Upstream patch reference: https://github.com/nodejs/node/commit/a7b8e855492812231af3c7c9ecf538a8472f09e5 Patch Modified: Yes

  • no need to patch for doc/contributing/maintaining/maintaining-dependencies.md as no version information is given in code for other deps also.
  • Since azl is using llhttp v8.1.2 and the upstream patch is for an earlier version, v8.1.1, some changes are already included in azl.
Change Log
  • new file: SPECS/nodejs/CVE-2025-23167.patch
  • modified: SPECS/nodejs/nodejs.spec
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
  • https://nvd.nist.gov/vuln/detail/CVE-2025-23167
Test Methodology
  • Buddy Build - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=870592&view=results

akhila-guruju avatar Jul 17 '25 08:07 akhila-guruju