Skip to content

chore(deps): update module google.golang.org/grpc to v1.79.3 [security] (master) - #8626

Merged
cert-manager-prow[bot] merged 1 commit into
masterfrom
renovate/master-go-google.golang.org-grpc-vulnerability
Mar 24, 2026
Merged

cert-manager-prow[bot] merged 1 commit into
masterfrom
renovate/master-go-google.golang.org-grpc-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Mar 19, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
google.golang.org/grpc v1.79.2 → v1.79.3 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2026-33186

Impact

What kind of vulnerability is it? Who is impacted?

It is an Authorization Bypass resulting from Improper Input Validation of the HTTP/2 :path pseudo-header.

The gRPC-Go server was too lenient in its routing logic, accepting requests where the :path omitted the mandatory leading slash (e.g., Service/Method instead of /Service/Method). While the server successfully routed these requests to the correct handler, authorization interceptors (including the official grpc/authz package) evaluated the raw, non-canonical path string. Consequently, "deny" rules defined using canonical paths (starting with /) failed to match the incoming request, allowing it to bypass the policy if a fallback "allow" rule was present.

Who is impacted?
This affects gRPC-Go servers that meet both of the following criteria:

  1. They use path-based authorization interceptors, such as the official RBAC implementation in google.golang.org/grpc/authz or custom interceptors relying on info.FullMethod or grpc.Method(ctx).
  2. Their security policy contains specific "deny" rules for canonical paths but allows other requests by default (a fallback "allow" rule).

The vulnerability is exploitable by an attacker who can send raw HTTP/2 frames with malformed :path headers directly to the gRPC server.

Patches

Has the problem been patched? What versions should users upgrade to?

Yes, the issue has been patched. The fix ensures that any request with a :path that does not start with a leading slash is immediately rejected with a codes.Unimplemented error, preventing it from reaching authorization interceptors or handlers with a non-canonical path string.

Users should upgrade to the following versions (or newer):

  • v1.79.3
  • The latest master branch.

It is recommended that all users employing path-based authorization (especially grpc/authz) upgrade as soon as the patch is available in a tagged release.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

While upgrading is the most secure and recommended path, users can mitigate the vulnerability using one of the following methods:

1. Use a Validating Interceptor (Recommended Mitigation)

Add an "outermost" interceptor to your server that validates the path before any other authorization logic runs:

func pathValidationInterceptor(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error) {
    if info.FullMethod == "" || info.FullMethod[0] != '/' {
        return nil, status.Errorf(codes.Unimplemented, "malformed method name")
    }   
    return handler(ctx, req)
}

// Ensure this is the FIRST interceptor in your chain
s := grpc.NewServer(
    grpc.ChainUnaryInterceptor(pathValidationInterceptor, authzInterceptor),
)

2. Infrastructure-Level Normalization

If your gRPC server is behind a reverse proxy or load balancer (such as Envoy, NGINX, or an L7 Cloud Load Balancer), ensure it is configured to enforce strict HTTP/2 compliance for pseudo-headers and reject or normalize requests where the :path header does not start with a leading slash.

3. Policy Hardening

Switch to a "default deny" posture in your authorization policies (explicitly listing all allowed paths and denying everything else) to reduce the risk of bypasses via malformed inputs.


Release Notes

grpc/grpc-go (google.golang.org/grpc)

v1.79.3: Release 1.79.3

Compare Source

Security

  • server: fix an authorization bypass where malformed :path headers (missing the leading slash) could bypass path-based restricted "deny" rules in interceptors like grpc/authz. Any request with a non-canonical path is now immediately rejected with an Unimplemented error. (#​8981)

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. ok-to-test release-note-none Denotes a PR that doesn't merit a release note. labels Mar 19, 2026
@cert-manager-prow cert-manager-prow Bot added the dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. label Mar 19, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

Hi @renovate[bot]. Thanks for your PR.

I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cert-manager-prow cert-manager-prow Bot added area/testing Issues relating to testing size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 19, 2026
@hjoshi123

Copy link
Copy Markdown
Collaborator

/test pull-cert-manager-master-make-verify

@hjoshi123

Copy link
Copy Markdown
Collaborator

/lgtm
/approve

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Mar 24, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hjoshi123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 24, 2026
@SgtCoDFish

Copy link
Copy Markdown
Member

/test pull-cert-manager-master-make-verify

@SgtCoDFish

Copy link
Copy Markdown
Member

/override pull-cert-manager-master-e2e-v1-35
/override pull-cert-manager-master-e2e-v1-35-upgrade

@cert-manager-prow

Copy link
Copy Markdown
Contributor

@SgtCoDFish: Overrode contexts on behalf of SgtCoDFish: pull-cert-manager-master-e2e-v1-35, pull-cert-manager-master-e2e-v1-35-upgrade

Details

In response to this:

/override pull-cert-manager-master-e2e-v1-35
/override pull-cert-manager-master-e2e-v1-35-upgrade

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@SgtCoDFish

Copy link
Copy Markdown
Member

/override pull-cert-manager-master-make-test
/override pull-cert-manager-master-make-verify

@cert-manager-prow

Copy link
Copy Markdown
Contributor

@SgtCoDFish: Overrode contexts on behalf of SgtCoDFish: pull-cert-manager-master-make-test, pull-cert-manager-master-make-verify

Details

In response to this:

/override pull-cert-manager-master-make-test
/override pull-cert-manager-master-make-verify

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cert-manager-prow
cert-manager-prow Bot merged commit 5aea634 into master Mar 24, 2026
1 check passed
@SgtCoDFish
SgtCoDFish deleted the renovate/master-go-google.golang.org-grpc-vulnerability branch March 24, 2026 15:41
@erikgb

erikgb commented Mar 27, 2026

Copy link
Copy Markdown
Member

/cherrypick release-1.20

@cert-manager-bot

Copy link
Copy Markdown
Contributor

@erikgb: #8626 failed to apply on top of branch "release-1.20":

Applying: chore(deps): update module google.golang.org/grpc to v1.79.3 [security]
Using index info to reconstruct a base tree...
M	cmd/controller/go.mod
M	cmd/controller/go.sum
M	cmd/webhook/go.mod
M	cmd/webhook/go.sum
M	go.mod
M	go.sum
M	test/integration/go.mod
M	test/integration/go.sum
Falling back to patching base and 3-way merge...
Auto-merging test/integration/go.sum
CONFLICT (content): Merge conflict in test/integration/go.sum
Auto-merging test/integration/go.mod
CONFLICT (content): Merge conflict in test/integration/go.mod
Auto-merging go.sum
CONFLICT (content): Merge conflict in go.sum
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
Auto-merging cmd/webhook/go.sum
CONFLICT (content): Merge conflict in cmd/webhook/go.sum
Auto-merging cmd/webhook/go.mod
CONFLICT (content): Merge conflict in cmd/webhook/go.mod
Auto-merging cmd/controller/go.sum
CONFLICT (content): Merge conflict in cmd/controller/go.sum
Auto-merging cmd/controller/go.mod
CONFLICT (content): Merge conflict in cmd/controller/go.mod
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 chore(deps): update module google.golang.org/grpc to v1.79.3 [security]

Details

In response to this:

/cherrypick release-1.20

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/testing Issues relating to testing dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. dependencies Pull requests that update a dependency file kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. ok-to-test release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants