Skip to content

Conversation

@joshrotenberg
Copy link
Collaborator

Problem

The cargo-deny advisories check is failing:

failed to load advisory database: parse error: error parsing .../RUSTSEC-2024-0445.md:
TOML parse error at line 8, column 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

The RustSec advisory database now includes advisories with CVSS 4.0 scores, but cargo-deny 0.16.2 doesn't support parsing them.

Solution

Update cargo-deny from 0.16.2 to 0.18.9, which includes rustsec 0.31 with CVSS 4.0 support.

The RustSec advisory database now includes advisories with CVSS 4.0
scores. cargo-deny 0.16.2 doesn't support parsing CVSS 4.0, causing
the advisories check to fail.

Update to 0.18.9 which includes rustsec 0.31 with CVSS 4.0 support.
@joshrotenberg joshrotenberg merged commit dae7e11 into main Dec 22, 2025
18 checks passed
@joshrotenberg joshrotenberg deleted the fix/cargo-deny-cvss4 branch December 22, 2025 22:28
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