Skip to content

fix: bump go to 1.22.12 to fix vulns CF-2302#196

Merged
heliocodacy merged 6 commits intomainfrom
fix/cf-2302-vuln
Mar 19, 2026
Merged

fix: bump go to 1.22.12 to fix vulns CF-2302#196
heliocodacy merged 6 commits intomainfrom
fix/cf-2302-vuln

Conversation

@manufacturist
Copy link
Contributor

@manufacturist manufacturist commented Mar 17, 2026

Might need to bump to a higher version, e.g. 1.24.13

Copilot AI review requested due to automatic review settings March 17, 2026 11:29
@codacy-production
Copy link

codacy-production bot commented Mar 17, 2026

Codacy's Analysis Summary

0 new issues (≤ 1 medium issue)
0 new security issues (≤ 0 minor issues)
0 complexity
0 duplications
More details

+0.00% coverage variation (-0.50%)
diff coverage (50.00%)
See diff coverage on Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (2847fb6) 5990 1303 21.75%
Head commit (997d2fe) 5990 (+0) 1303 (+0) 21.75% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#196) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

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. Give us feedback

@codacy-production
Copy link

codacy-production bot commented Mar 17, 2026

Codacy's Analysis Summary

0 new issue (≤ 1 medium issue)
0 new security issue (≤ 0 issue)
0 complexity
0 duplications
More details

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. Give us feedback

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the module’s declared Go version in go.mod as part of addressing reported vulnerabilities (CF-2302).

Changes:

  • Bump the go directive in go.mod from 1.22.4 to 1.24.13.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@manufacturist manufacturist changed the title fix: bump go to 1.24.13 to fix vulns CF-2302 fix: bump go to 1.22.12 to fix vulns CF-2302 Mar 17, 2026
Copilot AI review requested due to automatic review settings March 18, 2026 09:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the module’s declared Go version to a patched 1.22.x release to address reported vulnerabilities (CF-2302).

Changes:

  • Bump go directive in go.mod from 1.22.4 to 1.22.12.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copilot AI review requested due to automatic review settings March 18, 2026 10:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s Go toolchain version (per PR title: vulnerability remediation) and adjusts integration-test fixtures for generated Codacy configuration outputs.

Changes:

  • Bumps the Go version in go.mod to 1.22.12.
  • Updates integration-test expected codacy.yaml tool entries/versions (notably opengrep/semgrep and trivy).
  • Adds .codacy/codacy.yaml files inside integration-test directories.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
integration-tests/init-without-token/expected/codacy.yaml Updates expected tool list/versions for local init output.
integration-tests/init-without-token/.codacy/codacy.yaml Adds a repo-tracked .codacy config inside the test directory.
integration-tests/init-with-token/expected/codacy.yaml Updates expected opengrep version for token-based init output.
integration-tests/init-with-token/.codacy/codacy.yaml Adds a repo-tracked .codacy config inside the test directory.
integration-tests/config-discover/expected/codacy.yaml Updates expected opengrep version for local config discover output.
go.mod Bumps Go version to 1.22.12.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +11 to +15
@@ -12,4 +12,4 @@ tools:
- pmd@7.11.0
- pylint@3.3.6
- revive@1.7.0
- trivy@0.69.3
- trivy@0.69.3 No newline at end of file
- eslint@8.57.0
- lizard@1.17.31
- opengrep@1.16.2
- opengrep@1.16.4
Comment on lines +1 to +15
runtimes:
- dart@3.7.2
- go@1.22.3
- java@17.0.10
- node@22.2.0
- python@3.11.11
tools:
- dartanalyzer@3.7.2
- eslint@8.57.0
- lizard@1.17.31
- pmd@7.11.0
- pylint@3.3.6
- revive@1.7.0
- semgrep@1.78.0
- trivy@0.66.0
@@ -0,0 +1,15 @@
runtimes:
- dart@3.7.2
- go@1.22.3
Comment on lines +1 to +11
runtimes:
- java@17.0.10
- node@22.2.0
- python@3.11.11
tools:
- eslint@8.57.0
- lizard@1.17.31
- opengrep@1.16.4
- pmd@6.55.0
- pylint@3.3.9
- trivy@0.69.3
Copilot AI review requested due to automatic review settings March 19, 2026 15:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates runtime/tool versions and refreshes test fixtures used by the CLI’s tool/integration test suites.

Changes:

  • Bump Go version in go.mod (1.22.4 → 1.22.12).
  • Bump Opengrep default/test version (1.16.2 → 1.16.4) and update related expected outputs/config snapshots.
  • Refresh expected SARIF outputs for Trivy/Revive and update integration-test language/tool snapshots.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
go.mod Bumps the Go version used by the module.
.codacy/codacy.yaml Updates repo-level Codacy tool list (adds opengrep 1.16.4) and removes flutter/dartanalyzer entries.
plugins/tools/opengrep/plugin.yaml Updates Opengrep default version to 1.16.4.
plugins/tools/opengrep/test/src/.codacy/codacy.yaml Updates Opengrep version used in the Opengrep plugin test fixture.
plugins/tools/opengrep/test/expected.sarif Updates the expected SARIF for Opengrep tool tests.
plugins/tools/trivy/test/src/.codacy/codacy.yaml Adjusts the Trivy plugin test Codacy config.
plugins/tools/trivy/test/expected.sarif Refreshes Trivy expected SARIF output.
plugins/tools/revive/test/expected.sarif Refreshes Revive expected SARIF output ordering/content.
integration-tests/init-without-token/expected/tools-configs/languages-config.yaml Updates expected tool language/extension mappings (ordering/entries).
integration-tests/init-with-token/expected/tools-configs/languages-config.yaml Updates expected tool language/extension mappings (adds TS to some tools, moves opengrep).
integration-tests/init-with-token/expected/codacy.yaml Bumps Opengrep version in the expected init output.
integration-tests/config-discover/expected/tools-configs/languages-config.yaml Updates expected tool language/extension mappings for config-discover integration test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +187 to +191
"tool": {
"driver": {
"name": "Opengrep OSS",
"rules": null,
"semanticVersion": "1.16.4"
Comment on lines 1 to +3
name: opengrep
description: Opengrep is an open-source static analysis tool and community fork of Semgrep for finding bugs and enforcing code standards.
default_version: 1.16.2
default_version: 1.16.4
Comment on lines 33 to +37
"message": {
"text": "Package: ajv\nInstalled Version: 6.12.6\nVulnerability CVE-2025-69873\nSeverity: MEDIUM\nFixed Version: 8.18.0, 6.14.0\nLink: [CVE-2025-69873](https://avd.aquasec.com/nvd/cve-2025-69873)"
"text": "Package: django\nInstalled Version: 1.11.29\nVulnerability CVE-2021-33203\nSeverity: MEDIUM\nFixed Version: 2.2.24, 3.1.12, 3.2.4\nLink: [CVE-2021-33203](https://avd.aquasec.com/nvd/cve-2021-33203)"
},
"ruleId": "CVE-2025-69873",
"ruleIndex": 0
"ruleId": "CVE-2021-33203",
"ruleIndex": 12
Comment on lines 3 to 13
- java@17.0.10
- node@22.2.0
- python@3.11.11
- flutter@3.7.2
tools:
- eslint@9.38.0
- lizard@1.17.31
- opengrep@1.16.4
- pmd@6.55.0
- pylint@3.3.9
- revive@1.12.0
- opengrep@1.16.2
- trivy@0.69.3
runtimes: null
tools:
- trivy@0.69.3
- trivy@0.69.3 No newline at end of file
@heliocodacy heliocodacy enabled auto-merge (squash) March 19, 2026 15:40
@heliocodacy heliocodacy merged commit 5d0b1ca into main Mar 19, 2026
10 checks passed
@heliocodacy heliocodacy deleted the fix/cf-2302-vuln branch March 19, 2026 17:11
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