Skip to content

fix(deps): update rustix and accept chrono maintenance advisory - #70

Merged
debba merged 1 commit into
mainfrom
chore/rustsec-fixes
Nov 17, 2026
Merged

debba merged 1 commit into
mainfrom
chore/rustsec-fixes

Conversation

@debba

@debba debba commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • RUSTSEC-2026-0486 (rustix, unsound xattr functions): update rustix 1.1.4 -> 1.1.6 in Cargo.lock. rustix only reaches the plugin through tempfile -> native-tls (cargo tree -i rustix). Cargo also unified the windows-sys versions used by rustix, errno, tempfile and one other crate with versions already in the lockfile. No other crates changed.

  • RUSTSEC-2026-0543 (chrono unmaintained): add the advisory to the rustsec/audit-check ignore list, with a justification comment like the existing rkyv, rsa and pin-utils ones. There is no patched release. mssql-tiberius-bridge 0.3.0 always depends on chrono (it is not behind a feature), so replacing chrono in the plugin would not remove it from the tree:

    chrono v0.4.45
    ├── mssql-tiberius-bridge v0.3.0
    │   └── sqlserver-plugin
    └── sqlserver-plugin
    

    Revisit this when the bridge makes chrono optional or replaces it, then move the plugin's own temporal conversions off chrono.

cargo audit with the CI ignore list now reports nothing. The ignored advisories are unchanged: RUSTSEC-2026-0235 (rkyv), RUSTSEC-2023-0071 (rsa) and RUSTSEC-2026-0441 (pin-utils), plus the new RUSTSEC-2026-0543.

Testing

  • cargo build, cargo test --bins --test conformance (234 passed), cargo clippy --all-targets -- -D warnings, cargo fmt --all -- --check
  • cargo test --test live_db -- --test-threads=1 against a local mcr.microsoft.com/mssql/server:2022-latest container (2022 CU28): 34 passed

Fixes #69
Fixes #68

Update rustix 1.1.4 -> 1.1.6 in Cargo.lock for RUSTSEC-2026-0486 (xattr
functions mark unwritten bytes as initialized). rustix is pulled in only via
tempfile through native-tls.

Add RUSTSEC-2026-0543 (chrono is unmaintained) to the audit ignore list:
there is no patched release, and mssql-tiberius-bridge 0.3.0 depends on
chrono unconditionally, so removing the plugin's direct use would not drop
it from the dependency tree.
@debba debba added the prerelease:stable Publish the next release on the stable channel label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Version suggestion

Based on this PR's title (fix) and the prerelease:stable label:

Current 1.0.1
Suggested next tag v1.0.2

This is informational only — no tag or release is created automatically yet.

1 similar comment
@github-actions

Copy link
Copy Markdown

Version suggestion

Based on this PR's title (fix) and the prerelease:stable label:

Current 1.0.1
Suggested next tag v1.0.2

This is informational only — no tag or release is created automatically yet.

@kilo-code-bot

kilo-code-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

The PR updates rustix to 1.1.6 in Cargo.lock and adds RUSTSEC-2026-0543 to the audit ignore list, with a justification comment. I found no problems in the changed lines. I did not run any code.

Files Reviewed (2 files)
  • .github/workflows/ci.yml
  • Cargo.lock

Reviewed by claude-sonnet-5.5 · Input: 242 · Output: 843 · Cached: 113.3K

@debba
debba merged commit 2048dd3 into main Nov 17, 2026
19 checks passed
@debba
debba deleted the chore/rustsec-fixes branch November 17, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prerelease:stable Publish the next release on the stable channel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RUSTSEC-2026-0486: xattr functions mark unwritten bytes as initialized when given a zero-length buffer RUSTSEC-2026-0543: chrono is unmaintained

1 participant