Skip to content

security: Update time to 0.3.47 and reqwest to 0.13.2 (Dependabot fixes)#745

Merged
louis-e merged 1 commit intomainfrom
security-updates-dependabot
Feb 9, 2026
Merged

security: Update time to 0.3.47 and reqwest to 0.13.2 (Dependabot fixes)#745
louis-e merged 1 commit intomainfrom
security-updates-dependabot

Conversation

@louis-e
Copy link
Owner

@louis-e louis-e commented Feb 9, 2026

Security Updates

This PR addresses two security vulnerabilities identified by Dependabot:

🔒 Fixed Vulnerabilities

1. time crate (CVE-2026-XXXX) - DoS via RFC 2822 parsing

Updated: time 0.3.37 → 0.3.47

  • Severity: Moderate
  • Issue: Stack exhaustion denial of service attack when parsing RFC 2822
  • Fix: Implemented recursion depth tracking to prevent unbounded recursion
  • Impact: Prevents malicious input from causing stack overflow

2. reqwest TLS Backend Security Improvement

Updated: reqwest 0.12.15 → 0.13.2

  • Change: Default TLS backend switched from native-tls to rustls with aws-lc crypto provider
  • Benefit: Improved TLS security and platform compatibility using rustls-platform-verifier
  • Breaking Change: Added query feature to maintain URL query parameter functionality

📦 Related Dependency Updates

The following dependencies were updated as part of the security fixes:

  • time-core 0.1.2 → 0.1.8
  • time-macros 0.2.19 → 0.2.27
  • deranged 0.3.11 → 0.5.5
  • num-conv 0.1.0 → 0.2.0
  • hyper 1.5.2 → 1.8.1
  • hyper-util 0.1.10 → 0.1.19
  • rustls 0.23.20 → 0.23.36

✅ Testing

  • cargo check passes
  • cargo check --release passes
  • Functionality tested locally - OSM data retrieval working correctly
  • No breaking API changes for arnis codebase

🔗 References

📝 Notes

The query feature was added to the reqwest dependency configuration in Cargo.toml as it became an optional feature in reqwest 0.13. This ensures URL query parameter functionality remains available for OSM API calls.

- Update time from 0.3.37 to 0.3.47
  - Fixes stack exhaustion DoS vulnerability in RFC 2822 parsing (CVE-2026-XXXX)
  - Adds recursion depth tracking to prevent unbounded recursion

- Update reqwest from 0.12.15 to 0.13.2
  - Switch TLS backend from native-tls to rustls with aws-lc crypto provider
  - Improves TLS security and platform compatibility
  - Add 'query' feature to maintain URL query parameter functionality

- Update related dependencies:
  - time-core 0.1.2 -> 0.1.8
  - time-macros 0.2.19 -> 0.2.27
  - deranged 0.3.11 -> 0.5.5
  - num-conv 0.1.0 -> 0.2.0
  - hyper 1.5.2 -> 1.8.1
  - hyper-util 0.1.10 -> 0.1.19
  - rustls 0.23.20 -> 0.23.36

Resolves Dependabot PRs #743 and #733
Tested: cargo check and cargo check --release pass successfully
Copilot AI review requested due to automatic review settings February 9, 2026 13:04
@louis-e louis-e merged commit 489e571 into main Feb 9, 2026
7 checks passed
@louis-e louis-e deleted the security-updates-dependabot branch February 9, 2026 13:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Rust dependencies to address Dependabot-reported security issues, primarily by moving onto newer time and reqwest releases and updating the resolved dependency graph in the lockfile.

Changes:

  • Bump reqwest to the 0.13.x line and explicitly enable the query feature (now optional in 0.13).
  • Update Cargo.lock to resolve patched versions (including time 0.3.47) and associated transitive upgrades.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
Cargo.toml Updates reqwest dependency version/features to match reqwest 0.13 feature gating.
Cargo.lock Resolves updated dependency versions for reqwest, time, and transitive crates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rand_chacha = "0.3"
rayon = "1.10.0"
reqwest = { version = "0.12.15", features = ["blocking", "json"] }
reqwest = { version = "0.13.1", features = ["blocking", "json", "query"] }
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

PR metadata says reqwest is being updated to 0.13.2, but Cargo.toml specifies 0.13.1. Since Cargo.lock currently resolves reqwest 0.13.2, consider bumping the Cargo.toml version requirement to 0.13.2 (or update the PR title/description) to keep the declared requirement consistent with what’s actually being built.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

⏱️ Benchmark run finished in 0m 32s
🧠 Peak memory usage: 1212 MB

📈 Compared against baseline: 30s
🧮 Delta: 2s
🔢 Commit: 8a0e0cf

🟢 Generation time is unchanged.

📅 Last benchmark: 2026-02-09 13:07:30 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

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.

2 participants