[Medium] patch javapackages-bootstrap for CVE-2026-71497 - #18423
Open
Ratiranjan5 wants to merge 2 commits into
Open
[Medium] patch javapackages-bootstrap for CVE-2026-71497#18423Ratiranjan5 wants to merge 2 commits into
Ratiranjan5 wants to merge 2 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Ratiranjan5
marked this pull request as draft
August 14, 2026 08:14
|
Peer-review analysis -
Verdict: LGTM |
Ratiranjan5
marked this pull request as ready for review
August 14, 2026 10:14
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
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.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
Patch
javapackages-bootstrapforCVE-2026-71497.The
javapackages-bootstrappackage bundlesjsoup 1.16.1, which falls within the affected range forCVE-2026-71497(jsoup 1.14.3–1.23.1).The upstream patch was backported manually as the hunks fail to apply.
jsoup1.23.1, where the tag name is a StringBuilder-style objectParseSettings.normalName(tagName.value()),tagName.set(name)). In 1.16.1 the tag name is a plain String (ParseSettings.normalName(tagName)).import static org.jsoup.internal.Normalizer.lowerCaseand replaced trim-based normalization with non-trimminglowerCase(...)at the same three tokenizer sites,Tag.name(),Tag.appendTagName(String), andStartTag.nameAttr().Files excluded from the upstream patch:
The backport is functionally identical to the upstream patch.
Upstream Patch Reference:
https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70.patch
Change Log
Does this affect the toolchain?
NO
Links to CVEs
https://nvd.nist.gov/vuln/detail/CVE-2026-71497
Test Methodology
Installation and Uninstallation on docker image was successful.
pipeline build: Buddy Build has passed.