[High] Patch rust for CVE-2026-58050, CVE-2026-58051, CVE-2026-66033, CVE-2026-66034, CVE-2026-82251, CVE-2026-82253, CVE-2026-7598, CVE-2026-82252 - #18679
Open
BinduSri-6522866 wants to merge 3 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Peer-review analysis -
Final Verdict - LGTM. PR can be opened for FTE review. |
BinduSri-6522866
marked this pull request as ready for review
September 1, 2026 14:18
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
BinduSri-6522866
force-pushed
the
topic_rust_multiple_CVEs/3.0
branch
from
September 4, 2026 11:37
188001b to
244e0a4
Compare
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.
Patch rust for CVE-2026-58050, CVE-2026-58051, CVE-2026-66033, CVE-2026-66034, CVE-2026-7598, CVE-2026-82251, CVE-2026-82252, CVE-2026-82253
CVE-2026-58050:
The affected file is present at two places "libssh2/src/publickey." Patched only shipped version
./src/tools/cargo/third-party/libssh2-sys/libssh2inSPECS/rust/CVE-2026-58050.patch. The other version./vendor/libssh2-sys-0.3.1/libssh2which is affected is not getting compiled.Backported. The
third-party/libssh2-sys/libssh2/uses the older _libssh2_error()/LIBSSH2_ALLOC() API, not upstream's renamed ssh2_err()/SSH2_ALLOC(). So used existing_libssh2_error.CVE-2026-58051:
Same as Upstream patch.
CVE-2026-66033:
Same as Upstream patch.
CVE-2026-66034:
Backported. The
third-party/libssh2-sys/libssh2/uses the older _libssh2_error()/LIBSSH2_ALLOC() API, not upstream's renamed ssh2_err()/SSH2_ALLOC(). So used existing_libssh2_error.CVE-2026-7598:
Same as Upstream patch.
CVE-2026-82252:
Same as Upstream patch.
CVE-2026-82251 & CVE-2026-82253:
Same as Upstream patch.
Except test file
gix/tests/gix/submodule.rsis not present in our source code, so patch did not apply.Upstream single fix GitoxideLabs/gitoxide@d2e193f touches two separate crates and is therefore split into two patches, one per CVE:
Buddy build: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1194727&view=results