Skip to content

Bump phonenumber to 0.3.10, clearing the quick-xml advisories#116

Merged
martsokha merged 1 commit into
mainfrom
bump-phonenumber
Jul 2, 2026
Merged

Bump phonenumber to 0.3.10, clearing the quick-xml advisories#116
martsokha merged 1 commit into
mainfrom
bump-phonenumber

Conversation

@martsokha

Copy link
Copy Markdown
Member

cargo deny check failed on two RUSTSEC advisories:

  • RUSTSEC-2026-0194 — quadratic run-time checking a start tag for duplicate attributes
  • RUSTSEC-2026-0195 — unbounded namespace-declaration allocation in NsReader (memory-exhaustion DoS)

Both are against a transitive quick-xml 0.38.4, which is a build-dependency of phonenumber (used to generate phone-number metadata tables at compile time). Our own direct quick-xml is already 0.41.0.

Fix

phonenumber 0.3.9 → 0.3.10 — the new release drops quick-xml 0.38.4 entirely, so this removes both advisories at the source rather than suppressing them in deny.toml. Lockfile-only change (phonenumber = "0.3" already permits 0.3.10; no Cargo.toml edit). Also clears the duplicate-quick-xml bans warning as a bonus.

Verification

  • cargo deny checkadvisories ok, bans ok, licenses ok, sources ok.
  • elide-pattern tests pass (phone-number validation intact after the metadata bump) and the workspace tests pass.

🤖 Generated with Claude Code

`cargo deny` flagged two RUSTSEC advisories (RUSTSEC-2026-0194 quadratic
run-time, RUSTSEC-2026-0195 unbounded namespace-declaration allocation) against
a transitive `quick-xml 0.38.4` — a build-dependency of `phonenumber`.

`phonenumber 0.3.10` drops that vulnerable `quick-xml` entirely, so bumping it
(a lockfile-only change; `"0.3"` already permits it) removes both advisories at
the source rather than suppressing them. Also clears the duplicate-`quick-xml`
bans warning.

`cargo deny check` is now clean (advisories/bans/licenses/sources all ok);
pattern and workspace tests pass.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@martsokha martsokha added chore maintenance, dependency updates, code cleanup pattern regex and dictionary detection labels Jul 2, 2026
@martsokha martsokha self-assigned this Jul 2, 2026
@martsokha martsokha merged commit 39e3acc into main Jul 2, 2026
10 of 11 checks passed
@martsokha martsokha deleted the bump-phonenumber branch July 2, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore maintenance, dependency updates, code cleanup pattern regex and dictionary detection

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant