cargo audit red on main: RUSTSEC-2026-0387 (crypto-bigint 0.5.5 via aws-config credentials-login)
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- aws, rust
- Domain
- build-system, documentation
Research direction
The failing check is audit.yml running cargo audit --deny warnings. The unwanted crate enters through the credentials-login feature of the aws-config dev-dependency of clickhouse-cloud-api, so start with that entry in the manifest and then check Cargo.lock. Done means cargo audit passes, crypto-bigint 0.5.5 is gone from the lockfile, and the API README has the aws login workaround described in the issue.
Written by the indexing model from the issue text.
Description
Problem
Security audit (audit.yml, cargo audit --deny warnings) has failed on every scheduled main run since 2026-10-27 (latest: https://github.com/ClickHouse/clickhousectl/actions/runs/41398840725). It also fails on every PR that touches the manifest or lockfile.
Crate: crypto-bigint
Version: 0.5.5
Title: Multiple timing variability issues in operations intended to be constant-time
ID: RUSTSEC-2026-0387
Solution: Upgrade to >=0.7.6
Cause
The crate reaches us only through a dev-dependency of clickhouse-cloud-api. It does not ship in the clickhousectl binary or the published library:
crypto-bigint 0.5.5
└── elliptic-curve 0.13.8 ── ecdsa 0.16.9 / primeorder 0.13.6
└── p256 0.13.2
└── aws-config 1.13.0 (feature `credentials-login`)
[dev-dependencies] clickhouse-cloud-api
credentials-login was enabled in 695aa138 so the ignored ClickPipes E2E tests (tests/clickpipes/) can read aws login sessions. CI never runs those suites.
There is no patched 0.5.x release, so a lockfile update can't fix it. Upstream merged the move to p256 0.14 in smithy-lang/smithy-rs#4970 (fixes awslabs/aws-sdk-rust#1471) on 2026-10-30. That change is in aws-config 1.13.1, which isn't published yet; 1.13.0 is the latest on crates.io.
Fix
- Drop the
credentials-loginfeature from theaws-configdev-dependency. This removes p256 0.13, crypto-bigint 0.5.5 and 20 other crates fromCargo.lock. No crate versions are bumped. - Document the workaround for
aws loginusers in the API README:eval "$(aws configure export-credentials --format env)". The default chain still covers env vars, profiles, SSO andcredential_process.
Follow-up
Once aws-config ≥ 1.13.1 is on crates.io, bump it, restore credentials-login, and remove the README workaround. Dependabot's weekly Cargo group should pick up the bump.
- Dominant language
- Rust
- Stars
- 80
- Forks
- 9
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/clickhousectl
-
dependencies
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/clickhousectl#1185 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 5/100
ClickHouse/clickhousectl#1182 ·
Maintainers usually reply within 1 day
-
rust test-coverage
Difficulty 5/5 Over a week Newbie friendliness 35/100
ClickHouse/clickhousectl#1175 · 2 comments ·
Maintainers usually reply within 1 day
-
rust test-coverage
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ClickHouse/clickhousectl#1174 · 1 comment ·
Maintainers usually reply within 1 day
-
client enhancement rust
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/clickhousectl#1173 ·
Maintainers usually reply within 1 day
All issues in ClickHouse/clickhousectl
Similar issues
-
parity priority: low
Difficulty 2/5 Half a day Newbie friendliness 65/100
storytold/vectorcraft#5421 · 1 comment ·
Maintainers usually reply within 1 day
-
bug enchantments Java Edition protocol
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Pumpkin-MC/Pumpkin#4465 ·
Maintainers usually reply within 1 day
-
docs(metrics): replace stale src/metrics.rs line anchors in dashboard-metrics.md with symbol namesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vfarcic/dot-agent-deck#2079 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
fraiseql/fraisier-core#148 ·
Maintainers usually reply within 1 day