Skip to content

upgrade Go to 1.25 and update vulnerable x/net and x/crypto dependencies#162

Open
sahusanket wants to merge 1 commit into
developfrom
vuln_fix_go_xnet_xcrypto
Open

upgrade Go to 1.25 and update vulnerable x/net and x/crypto dependencies#162
sahusanket wants to merge 1 commit into
developfrom
vuln_fix_go_xnet_xcrypto

Conversation

@sahusanket

Copy link
Copy Markdown

No description provided.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the Go version to 1.25, updates several dependency versions, adjusts RBAC roles, and cleans up formatting across several controller files. A critical issue was identified in the RBAC configuration (config/rbac/role.yaml), where reducing the verbs for configmaps and services to only create will cause reconciliation failures due to missing CRUD permissions.

Comment thread config/rbac/role.yaml
Comment on lines 7 to 13
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- create

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

Reducing the verbs for configmaps and services to only create is a critical regression. The operator reconciles these resources and requires full CRUD permissions (create, delete, get, list, patch, update, watch) to function correctly. Without these permissions, the operator will encounter RBAC authorization errors during reconciliation.

- apiGroups:
  - ""
  resources:
  - configmaps
  - services
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch

@sahusanket sahusanket force-pushed the vuln_fix_go_xnet_xcrypto branch from d5729d9 to cb9bf8c Compare June 14, 2026 18:49
@sahusanket sahusanket self-assigned this Jun 14, 2026
@sahusanket sahusanket added the go Pull requests that update go code label Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant