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. Learn more

Threat Intelligence

EPSS
0.05% (18th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPOMERIUMPOMERIUMPKGGRPCUTIL-8161086
  • published3 Oct 2024
  • disclosed2 Oct 2024
  • creditUnknown

Introduced: 2 Oct 2024

CVE-2024-47616  (opens in a new tab)
CWE-863  (opens in a new tab)

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