Skip to content

[High] Patch rust for CVE-2026-58050, CVE-2026-58051, CVE-2026-66033, CVE-2026-66034, CVE-2026-7598 - #18679

Open
BinduSri-6522866 wants to merge 2 commits into
microsoft:fasttrack/3.0from
Kanishk-Bansal:topic_rust_multiple_CVEs/3.0
Open

[High] Patch rust for CVE-2026-58050, CVE-2026-58051, CVE-2026-66033, CVE-2026-66034, CVE-2026-7598#18679
BinduSri-6522866 wants to merge 2 commits into
microsoft:fasttrack/3.0from
Kanishk-Bansal:topic_rust_multiple_CVEs/3.0

Conversation

@BinduSri-6522866

@BinduSri-6522866 BinduSri-6522866 commented Sep 1, 2026

Copy link
Copy Markdown

Patch rust for CVE-2026-58050, CVE-2026-58051, CVE-2026-66033, CVE-2026-66034, CVE-2026-7598

CVE-2026-58050:
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.

Buddy build: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1194727&view=results

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Sep 1, 2026
@v-aaditya

Aditya Singh (v-aaditya) commented Sep 1, 2026

Copy link
Copy Markdown

Peer-review analysis -
There are 2 versions of libssh2 in rust package, but as author confirmed these CVEs only affect ./src/tools/cargo/third-party/libssh2-sys/libssh2 -

aditya@azurelinux [ ~/AzureLinuxProject/cve-fix/rust/rustc-1.96.1-src ]$ find . -name libssh2
./src/tools/cargo/third-party/libssh2-sys/libssh2
./vendor/libssh2-sys-0.3.1/libssh2
  • All the patches match with their respective upstream patches, only the ssh2_err() → _libssh2_error() / SSH2_ALLOC → LIBSSH2_ALLOC naming differs due to version mismatch.
  • All the patches have upstream patch reference.
  • Buddy Build has passed.
  • All the patches apply cleanly. (checked .rpm.log)
  • Ptest getting passed. (Checked .rpm.test.log)
  • SPEC file has been correctly updated.

Final Verdict - LGTM. PR can be opened for FTE review.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@KavyaSree2610 Kavya Sree Kaitepalli (KavyaSree2610) added the ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review label Sep 1, 2026
@BinduSri-6522866
BinduSri-6522866 marked this pull request as ready for review September 1, 2026 14:18
@BinduSri-6522866
BinduSri-6522866 requested a review from a team as a code owner September 1, 2026 14:18
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added CVEFixReadyForMaintainerReview When a CVE fix has been reviewed by release manager and is ready for stable maintainer review and removed ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review labels Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CVEFixReadyForMaintainerReview When a CVE fix has been reviewed by release manager and is ready for stable maintainer review fasttrack/3.0 PRs Destined for Azure Linux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants