Skip to content

fix(rust-roxmltree): upgrade to 0.21.2 to address CVEs - #19982

Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
rust-roxmltree-0.21.2-cves
Open

Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
rust-roxmltree-0.21.2-cves

Conversation

@Kanishk-Bansal

Copy link
Copy Markdown

Summary

Upgrade rust-roxmltree from 0.21.1 → 0.21.2 by bumping the Fedora f43 dist-git pin to 1063aa98bde6.

CVEs addressed (1)

CVE Severity Fixed in Reference
CVE-2026-92987 High >0.21.1 -

CVEs not addressed by this upgrade (0)

None — all open Astrolabe CVEs for this package are addressed.

Changes

  • base/comps/rust-roxmltree/rust-roxmltree.comp.toml: pin upstream-commit = 1063aa98bde6… (Fedora f43)
  • locks/rust-roxmltree.lock: refreshed via azldev comp update -p rust-roxmltree
  • specs/r/rust-roxmltree/: re-rendered (Version 0.21.1 → 0.21.2, Release %autorelease → %autorelease)

Testing

  • azldev comp build -p rust-roxmltree (x86_64): success (4 RPMs)
  • Smoke test in AZL4 mock chroot with the built RPMs installed:
roxmltree-0.21.2
  • All ELF binaries/libraries in the built RPMs resolve their shared libraries (ldd: no not found)
  • SONAMEs vs. currently published 4.0 package: unchanged
  • azldev comp render / comp update idempotent on the committed state; commit message passes commitizen

Copilot AI balanced review requested due to automatic review settings November 5, 2026 09:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the rust-roxmltree 0.21.2 update.

No open issues 🎉

What changed in this PR

Upgrades Azure Linux’s rust-roxmltree package from 0.21.1 to 0.21.2 to address the reported CVE-2026-92987.

Changes:

  • Moves the component into a dedicated configuration pinned to a Fedora f43 commit.
  • Refreshes the lock file and rendered spec for 0.21.2.
  • Updates the crate source filename and SHA512 checksum.
File Description
specs/​r/​rust-roxmltree/​sources Updates the crate source and checksum to 0.21.2.
specs/​r/​rust-roxmltree/​rust-roxmltree.spec Updates the version and generated changelog.
locks/​rust-roxmltree.lock Records the new upstream commit and input hashes.
base/​comps/​rust-roxmltree/​rust-roxmltree.comp.toml Adds the dedicated Fedora f43 commit pin and rationale.
base/​comps/​components.toml Removes the inline entry replaced by the dedicated configuration.

Review effort: Balanced

@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added security CVE-fixed-by-upgrade CVE fixed by package upgrade 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Nov 5, 2026
Bump the Fedora f43 dist-git pin to rust-roxmltree-0.21.2:
https://src.fedoraproject.org/rpms/rust-roxmltree/c/1063aa98bde67366d0b3d57f673dda5f54a634ff

Addresses 1 CVE(s):
CVE-2026-92987

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 5, 2026 20:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the rust-roxmltree 0.21.2 update.

No open issues 🎉

Review effort: Balanced

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It appears that the version bump is not a complete fix for the CVE. See RazrFalcon/roxmltree#157

@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

%changelog
## START: Generated by rpmautospec
* Thu Nov 05 2026 Kanishk Bansal <kanbansal@microsoft.com> - 0.21.2-2
- fix(rust-roxmltree): upgrade to 0.21.2 to address CVEs

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do we need to put the changelog entries from our side, as we are not putting for many others and are taking directly from Fedora changelog.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

azldev will generate changelog entries when it can. There are certain components for which it is not doing that successfully, but the goal is that all generated specs have the upstream changelog, then the generated AZL changelog entries appended.

[components.'rust-roff0.2']
[components.rust-ron]
[components.'rust-ron0.7']
[components.rust-roxmltree]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Not sure here, what is the reason for this removal? Is it duplicate or somewhere else it will be populated? Like the above addition of base component file will populate it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 Issues and PRs for Azure Linux 4.0 CVE-fixed-by-upgrade CVE fixed by package upgrade security targets-4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants