Skip to content

Update container version that includes cargo-audit 0.22#203

Merged
stefano-garzarella merged 1 commit intorust-vmm:mainfrom
stefano-garzarella:update-for-cargo-audit
Jan 7, 2026
Merged

Update container version that includes cargo-audit 0.22#203
stefano-garzarella merged 1 commit intorust-vmm:mainfrom
stefano-garzarella:update-for-cargo-audit

Conversation

@stefano-garzarella
Copy link
Member

Summary of the PR

cargo-audit 0.22 is the first version that can parse cvss 4.0 scores and avoid the following error in our pipelines:
$ cargo audit -q --deny warnings
error: error loading advisory database: 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

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

cargo-audit 0.22 is the first version that can parse cvss 4.0 scores
and avoid the following error in our pipelines:
  $ cargo audit -q --deny warnings
  error: error loading advisory database: 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

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
@stefano-garzarella
Copy link
Member Author

It's failing because the new container images is still building: https://github.com/rust-vmm/rust-vmm-container/actions/runs/20488513273/job/58875787403

We should restart the CI as soon as the container is published.

@stefano-garzarella stefano-garzarella enabled auto-merge (rebase) December 24, 2025 15:56
Copy link
Member

@RuoqingHe RuoqingHe left a comment

Choose a reason for hiding this comment

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

Container images are ready, green light 👍

@stefano-garzarella
Copy link
Member Author

@lauralt @sameo @ShadowCurse please can you approve this that should fix red CI in almost all our repositories.

@stefano-garzarella stefano-garzarella enabled auto-merge (rebase) January 7, 2026 08:46
@stefano-garzarella stefano-garzarella merged commit 65d339d into rust-vmm:main Jan 7, 2026
3 checks passed
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.

4 participants