Skip to content

chore(deps): bump github.com/aquasecurity/trivy from 0.70.0 to 0.71.2#308

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/aquasecurity/trivy-0.71.2
Open

chore(deps): bump github.com/aquasecurity/trivy from 0.70.0 to 0.71.2#308
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/aquasecurity/trivy-0.71.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/aquasecurity/trivy from 0.70.0 to 0.71.2.

Release notes

Sourced from github.com/aquasecurity/trivy's releases.

v0.71.2

Changelog

  • 055a5c8a53bfd61f7a8e276a5b2f0c3fc1673420 release: v0.71.2 [release/v0.71] (#10871)
  • 875328a4138f26e8559cfee80adaef82b6693076 fix(deps): bump alpine to 3.24.1 [backport: release/v0.71] (#10870)
  • 998f7b3c3f3c9de2132bc4358970eeafbd797fba chore(deps): bump the common group with 4 updates [backport: release/v0.71] (#10867)

v0.71.1

Changelog

  • 164b383121351c2d49c5d354c2245719d972752b release: v0.71.1 [release/v0.71] (#10818)
  • a72d9a4d997c25fbb6534e231b4e206c9b202b31 fix(oci): validate artifact filename
  • 3dd98471dfbbc4a95edd5cd866468d3a8c87fd17 fix: forward ospkg detector options through ospkg.NewScanner [backport: release/v0.71] (#10825)
  • a62cbe40a240d3a3f568401b8a5f86e14114e371 fix(vex): load VEX documents from within the repository directory [backport: release/v0.71] (#10821)
  • 43d1d2628725e913db110b89419f0bebd36f58a8 fix: surface the original analysis error instead of context cancellation [backport: release/v0.71] (#10812)
  • ac7696c7b50d633183ce2ff44898d4b5c6eae565 ci: expect GitHub App bot as backport PR author [backport: release/v0.71] (#10815)

v0.71.0

⚡ Highlights ⚡

👉 aquasecurity/trivy#10767

Changelog

https://github.com/aquasecurity/trivy/blob/main/CHANGELOG.md#0710-2026-06-01

Changelog

Sourced from github.com/aquasecurity/trivy's changelog.

0.71.2 (2026-06-19)

Bug Fixes

  • deps: bump alpine to 3.24.1 [backport: release/v0.71] (#10870) (875328a)

0.71.1 (2026-06-10)

Bug Fixes

  • forward ospkg detector options through ospkg.NewScanner [backport: release/v0.71] (#10825) (3dd9847)
  • oci: validate artifact filename (a72d9a4)
  • surface the original analysis error instead of context cancellation [backport: release/v0.71] (#10812) (43d1d26)
  • vex: load VEX documents from within the repository directory [backport: release/v0.71] (#10821) (a62cbe4)

0.71.0 (2026-06-01)

Features

  • add WithDriver and WithProvider options to ospkg detector (#10740) (f8a6ddb)
  • java: support <mirrors> from settings.xml (#10692) (c080ce3)
  • sbom: support for CycloneDX 1.7 (#10715) (04f739e)
  • seal: add vendor support for language file detection. (#10297) (b08bf6a)
  • secret: add a way to customize skipped folders, files and exts (#10550) (e4325b1)
  • secret: add Azure secret detection rules (#10562) (69dcd18)
  • secret: add Maven rules to detect passwords and passphrases in settings.xml and settings-security.xml files (#10704) (9ad901d)
  • spdx: add SHA-512 hash algorithm support to SPDX serializer (#10719) (f2a1237)
  • ubuntu: detect Ubuntu 26.04 LTS (#10592) (a61feac)

Bug Fixes

  • cloudformation: propagate AWS::EC2::Instance MetadataOptions (#10731) (ac2f3d7)
  • image: correctly reconstruct RUN instructions built without BuildKit (#10714) (519eac9)
  • java: surface 429 from a remote Maven repository as a fatal error when scanning pom.xml files (#10693) (f8fdb93)
  • misconf: fix rendering of nested values in terraform plan lists (#10746) (9c1cf65)
  • misconf: make identifiers in ignore rules case-insensitive (#10375) (a75a468)
  • misconf: prevent path traversal in Terraform filesystem functions (#10664) (9d91b88)
  • misconf: reject nil plays during playbook parsing (#10273) (0bc5c6d)
  • misconf: skip null cty values in AsMapValue to prevent panic (#10723) (f080e1e)
  • misconf: skip resources with no after changes (#10352) (f099dc4)
  • nodejs: handle legacy license formats in npm lockfile parser (#10684) (451fd99)
  • nodejs: silently skip subdirectory package.json files with invalid names (#10609) (0e4dc66)
  • overwrite OS packages PURLs after overwrite OS (#10298) (39a28ed)
  • pull instead of clone when test repo already exists (#10636) (3a2f7fb)
  • report: don't produce trailing comma in gitlab.tpl links array (#10728) (69e78e2)
  • secret: correctly skip secret-scanner config file from scanning (#10666) (fc1e46f)
Commits
  • 055a5c8 release: v0.71.2 [release/v0.71] (#10871)
  • 875328a fix(deps): bump alpine to 3.24.1 [backport: release/v0.71] (#10870)
  • 998f7b3 chore(deps): bump the common group with 4 updates [backport: release/v0.71] (...
  • 164b383 release: v0.71.1 [release/v0.71] (#10818)
  • a72d9a4 fix(oci): validate artifact filename
  • 3dd9847 fix: forward ospkg detector options through ospkg.NewScanner [backport: relea...
  • a62cbe4 fix(vex): load VEX documents from within the repository directory [backport: ...
  • 43d1d26 fix: surface the original analysis error instead of context cancellation [bac...
  • ac7696c ci: expect GitHub App bot as backport PR author [backport: release/v0.71] (#1...
  • 9b49920 release: v0.71.0 [main] (#10638)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy) from 0.70.0 to 0.71.2.
- [Release notes](https://github.com/aquasecurity/trivy/releases)
- [Changelog](https://github.com/aquasecurity/trivy/blob/v0.71.2/CHANGELOG.md)
- [Commits](aquasecurity/trivy@v0.70.0...v0.71.2)

---
updated-dependencies:
- dependency-name: github.com/aquasecurity/trivy
  dependency-version: 0.71.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 29, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 29, 2026 10:48
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 29, 2026
@codacybeta codacybeta enabled auto-merge (squash) June 29, 2026 10:48
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 3 high · 2 medium

Alerts:
⚠ 5 issues (≤ 1 issue of at least medium severity)
⚠ 5 issues (≤ 0 issues of at least minor severity)

Results:
5 new issues

Category Results
Security 2 medium
3 high

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request includes several significant changes that are not captured in the PR title or description, specifically an upgrade of the Go toolchain to 1.26.3 and a major version bump of Helm from v3 to v4. The current Codacy status is 'not up to standards' due to high-severity security issues and logic gaps.

Key risks include:

  • Security: The proposed Go 1.26.3 version and the indirect containerd v2.3.1 dependency both contain critical CVEs.
  • Infrastructure: An expected update to .circle/config.yml is missing, which is likely to break the CI/CD pipeline.
  • Scope: Major library changes (Helm v4) have been introduced without documentation or corresponding unit tests to verify compatibility.

About this PR

  • The PR description fails to mention the upgrade of the Go toolchain (1.25.8 to 1.26.3) and the major version bump of 'helm.sh/helm' (v3 to v4). These changes can introduce breaking behavior and should be explicitly documented.
  • The diff lacks updated or new tests to verify that the upgraded libraries (especially the Helm v4 major bump and the Go 1.26 runtime) do not regress existing functionality.

Test suggestions

  • Missing recommended test scenario: Verify vulnerability scanning functionality with Trivy 0.71.2
  • Missing recommended test scenario: Verify SBOM generation using the updated CycloneDX-go library
  • Missing recommended test scenario: Confirm compatibility with Helm v4 for chart scanning or processing
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Missing recommended test scenario: Verify vulnerability scanning functionality with Trivy 0.71.2
2. Missing recommended test scenario: Verify SBOM generation using the updated CycloneDX-go library
3. Missing recommended test scenario: Confirm compatibility with Helm v4 for chart scanning or processing

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread go.mod
github.com/containerd/containerd/v2 v2.2.2 // indirect
github.com/containerd/continuity v0.4.5 // indirect
github.com/containerd/containerd/api v1.11.1 // indirect
github.com/containerd/containerd/v2 v2.3.1 // indirect

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 HIGH RISK

The update to trivy v0.71.2 introduced containerd/containerd/v2 at v2.3.1, which contains high-severity vulnerabilities (including CVE-2026-53489 and CVE-2026-53488). Upgrading this indirect dependency to v2.3.2 is required to address these security risks.

Suggested fix:

Suggested change
github.com/containerd/containerd/v2 v2.3.1 // indirect
github.com/containerd/containerd/v2 v2.3.2 // indirect

See Issue in Codacy
See Issue in Codacy
See Issue in Codacy
See Issue in Codacy
See Issue in Codacy

Comment thread go.mod
module github.com/codacy/codacy-trivy

go 1.25.8
go 1.26.3

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 HIGH RISK

The Go toolchain version is being upgraded to 1.26.3. This version is subject to security vulnerabilities affecting X.509 certificate verification (CVE-2026-27145) and MIME header parsing (CVE-2026-42504). It is highly recommended to upgrade to version 1.26.4 instead. Additionally, this significant change was not mentioned in the PR description.

Suggested fix:

Suggested change
go 1.26.3
go 1.26.4

See Issue in Codacy
See Issue in Codacy
See Issue in Codacy

Comment thread go.mod
github.com/CycloneDX/cyclonedx-go v0.10.0
github.com/aquasecurity/trivy v0.70.0 // Also update .circle/config.yml
github.com/CycloneDX/cyclonedx-go v0.11.0
github.com/aquasecurity/trivy v0.71.2 // Also update .circle/config.yml

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

An inline comment on this line indicates that .circle/config.yml must be updated whenever this dependency is bumped. This PR updates the dependency to v0.71.2 but does not include the corresponding change to the CI configuration, which may lead to build failures. Update .circle/config.yml to sync with this Trivy version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant