[AutoPR- Security] Patch curl for CVE-2026-11856 [MEDIUM]#18060
[AutoPR- Security] Patch curl for CVE-2026-11856 [MEDIUM]#18060azurelinux-security wants to merge 2 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
1.Ai Backported patch did not fixed the vulnerability had to make changes to the patch. |
mfrw
left a comment
There was a problem hiding this comment.
The revised backport builds and passes the normal origin/credential regression test, but its serialized identity keys are not equivalent to upstream and can fail to detect valid credential or destination changes.
Request @kgodara912 to please take a look once
| + data->conn->handler->scheme, | ||
| + data->conn->host.name, | ||
| + data->conn->remote_port); | ||
| + char *newcreds = aprintf("%s:%s", userp ? userp : "", |
There was a problem hiding this comment.
The way our backport stores credentials, using aprintf does not uniquely identify the (username, password) pair. For example, these valid libcurl inputs serialize identically:
username = "a:b", password = "c" -> "a:b:c"
username = "a", password = "b:c" -> "a:b:c"
I think the credential identity is ambigious
also,
origin identity omits upstream destination properties, aprintf usage notably omits conn->scope_id (and any Unix-socket identity), so two destinations that upstream considers different can compare equal.



Auto Patch curl for CVE-2026-11856.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1163781&view=results
CVE-2026-11856 : Single Patch Backporter Pipeline Run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1163784&view=results
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
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology