Merged
Conversation
Contributor
Author
|
ping @Jake-Shadle |
|
There's really no need to mention people -- people watch their repos and get notifications anyway. |
Contributor
Not quite. Subscription sends emails to |
10 tasks
picodata-account
pushed a commit
to picodata/picodata
that referenced
this pull request
Dec 24, 2025
The audit stage fails in CI when cargo-deny 0.18.3, invoked by `make
audit`, attempts to parse advisories containing CVSS 4.0 vectors,
resulting in a "unsupported CVSS version: 4.0" error:
$ make audit
cargo deny --workspace check
2025-12-24 16:11:44 [ERROR] failed to load advisory database: parse error: error parsing /builds/core/picodata/.cargo/advisory-dbs/advisory-db-3157b0e258782691/crates/cap-primitives/RUSTSEC-2024-0445.md: parse error: TOML parse error at line 8, column 8
|
8 | cvss = "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unsupported CVSS version: 4.0
make: *** [Makefile:164: audit] Error 1
This occurs because older cargo-deny versions do not support the
newer CVSS 4.0 standard used in recently published advisories (like
RUSTSEC-2024-0445).
This commit updates cargo-deny from version 0.18.3 to 0.18.9. The newer version
includes support for CVSS 4.0 vectors, allowing `make audit` to parse the
advisory database successfully and complete the security check without errors.
Version of `cargo-deny` is still pinned to avoid premature MSRV bumps.
It tends to bump its minimum supported Rust version soon after new
Rust releases, but our project's Rust version update cycle is more
conservative, which will cause CI to fetch another Rust compiler
version, making it observably slower, especially on a high load.
Addresses: <https://git.picodata.io/core/picodata/-/jobs/793344>.
See-also: <EmbarkStudios/cargo-deny#804>.
See-also: <EmbarkStudios/cargo-deny#805>.
bfung
added a commit
to vectordotdev/vrl
that referenced
this pull request
Jan 16, 2026
Updated cargo-deny from version 0.18.3 to 0.19.0 to resolve the "unsupported CVSS version: 4.0" error that occurs when parsing the RustSec advisory database. The fix was introduced in cargo-deny 0.18.6 by updating the rustsec dependency to version 0.31, which includes CVSS 4.0 support. Changes: - Updated cargo-deny version in scripts/check_deny.sh from 0.18.3 to 0.19.0 - Verified all checks pass: advisories, bans, licenses, and sources References: - GitHub Issue: EmbarkStudios/cargo-deny#804 - Fix PR: EmbarkStudios/cargo-deny#805 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 10, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 11, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 11, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 11, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 11, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 11, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
kristof-mattei
added a commit
to logdna/build-images
that referenced
this pull request
Mar 11, 2026
Fixes ``` [2026-03-03T18:27:51.852Z] + make lint-audit [2026-03-03T18:27:51.852Z] ARCH=x86_64 ./docker/dispatch.sh "/build" "/tmp/workspace/jenkins-logdna-logdna-agent-v2-master-438:/build:Z" us.gcr.io/logdna-k8s/rust:bookworm-1-stable-x86_64 "--env RUST_BACKTRACE=full" "cargo audit \ [2026-03-03T18:27:51.852Z] --ignore RUSTSEC-2024-0421" [2026-03-03T18:27:52.415Z] starting sccache server [2026-03-03T18:27:52.415Z] Fetching advisory database from `https://github.com/RustSec/advisory-db.git` [2026-03-03T18:27:54.939Z] error: error loading advisory database: parse error: error parsing /opt/rust/cargo/advisory-db/crates/libcrux-ed25519/RUSTSEC-2026-0026.md: parse error: TOML parse error at line 7, column 8 [2026-03-03T18:27:54.939Z] | [2026-03-03T18:27:54.939Z] 7 | cvss = "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" [2026-03-03T18:27:54.939Z] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026-03-03T18:27:54.939Z] unsupported CVSS version: 4.0 [2026-03-03T18:27:54.939Z] [2026-03-03T18:27:54.939Z] make: *** [Makefile:266: lint-audit] Error 1 ``` See EmbarkStudios/cargo-deny#805
This was referenced Mar 20, 2026
fengmk2
added a commit
to voidzero-dev/vite-plus
that referenced
this pull request
Mar 24, 2026
The setup-rust action resolves cargo-deny@latest to 0.18.4 which cannot parse CVSS 4.0 scores in the advisory database (RUSTSEC-2026-0009). Pin to 0.18.9 which includes the fix from EmbarkStudios/cargo-deny#805.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #804
See https://github.com/rustsec/rustsec/releases/tag/rustsec%2Fv0.31.0