Incorrect Authorization Affecting github.com/pomerium/pomerium/pkg/grpcutil package, versions <0.27.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMPOMERIUMPOMERIUMPKGGRPCUTIL-8161086
  • published 3 Oct 2024
  • disclosed 2 Oct 2024
  • credit Unknown

How to fix?

Upgrade github.com/pomerium/pomerium/pkg/grpcutil to version 0.27.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to incomplete validation of JSON Web Tokens (JWTs). An attacker can exfiltrate user information, spoof user sessions, or tamper with routes, policies and settings.

Note: This is only exploitable if the deployment uses Pomerium Zero or Pomerium Enterprise, the access token has an explicit future expiration date and the core Pomerium databroker gRPC API is not secured by network access controls.

Workaround

This vulnerability can be mitigated by restricting access to the Pomerium internal gRPC API through network firewall or security group configurations to limit access to trusted sources only.

For Pomerium Zero deployments, disabling the gRPC API listener by setting grpc_address: "" in the YAML configuration file is also recommended.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
7.6 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None