Skip to content

fix(deps): bump quick-xml/anyhow/crossbeam-epoch for RustSec advisories - #3705

Open
Svector-anu wants to merge 1 commit into
rtk-ai:developfrom
Svector-anu:security/bump-deps-rustsec-2026
Open

fix(deps): bump quick-xml/anyhow/crossbeam-epoch for RustSec advisories#3705
Svector-anu wants to merge 1 commit into
rtk-ai:developfrom
Svector-anu:security/bump-deps-rustsec-2026

Conversation

@Svector-anu

Copy link
Copy Markdown

Automated dependency bumps to address disclosed RustSec advisories found by osv-scanner.

Advisories

Package From → To Advisory Severity
quick-xml 0.37.5 → 0.41.0 RUSTSEC-2026-0194, RUSTSEC-2026-0195 High (DoS / mem exhaustion via untrusted XML)
anyhow 1.0.102 → 1.0.103 RUSTSEC-2026-0190 Unsoundness in Error::downcast_mut()
crossbeam-epoch 0.9.18 → 0.9.20 RUSTSEC-2026-0204 Invalid pointer deref in fmt::Pointer (transitive via crossbeam-deque)

Code changes

quick-xml 0.41 reworked text/attribute decoding. Two mechanical call-site updates (same approach as closed #2866):

  • src/cmds/dotnet/dotnet_cmd.rs: BytesText::unescape()decode()
  • src/cmds/dotnet/dotnet_trx.rs: Attribute::decode_and_unescape_valuedecoded_and_normalized_value(XmlVersion::default(), …)

Prior art

Verification

  • Reproduced locally: yes
  • Command: osv-scanner scan source --recursive --no-ignore . before → 4 vulns; after → 0
  • Before: quick-xml@0.37.5, anyhow@1.0.102, crossbeam-epoch@0.9.18 flagged
  • After: cargo build clean; cargo test -- cmds::dotnet → 116 passed; osv-scanner → 0 remaining
  • Environment: rustc stable, osv-scanner 2.5.1

No other code changes. Happy to adjust if you prefer splitting the bumps.

- quick-xml 0.37.5 → 0.41.0 (RUSTSEC-2026-0194, RUSTSEC-2026-0195)
- anyhow 1.0.102 → 1.0.103 (RUSTSEC-2026-0190)
- crossbeam-epoch 0.9.18 → 0.9.20 (RUSTSEC-2026-0204)

quick-xml call sites in dotnet_cmd/dotnet_trx migrated for the 0.41 API.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants