CVE-2022-24797: Exposure of debug and metrics endpoints in Pomerium

github.com/pomerium/pomerium Updated 02 Oct 2025

Summary

06/09/2024
Yes i
Moderate
6.5

CVE-2022-24797: Exposure of debug and metrics endpoints in Pomerium. Affects github.com/pomerium/pomerium versions >= 0.16.0, < 0.17.1. Fixed in 0.17.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Pomerium is an open-source tool written in Go that provides secure access to internal applications and services. It acts as a reverse proxy, handling authentication and authorization for incoming requests. Pomerium's Authenticate service, in distributed service mode, exposes debug and metrics endpoints to untrusted traffic. These endpoints include pprof debug and prometheus metrics handlers. This vulnerability can lead to the leakage of sensitive environmental information or result in limited denial of service conditions.

Vulnerability Detail

The exposure of debug and metrics endpoints in Pomerium's Authenticate service allows untrusted traffic to access pprof debug and prometheus metrics handlers. This can potentially leak sensitive environmental information, such as internal system details, and may also lead to limited denial of service conditions. An attacker could exploit this vulnerability to gather intelligence about the target system or disrupt its operation.

How To Fix

Latest published version: v0.33.4 as of 22 Oct 2026

go get github.com/pomerium/pomerium@v0.33.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.17.1

This is the first release that contains the fix.

go get github.com/pomerium/pomerium@v0.17.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not possible, a workaround is to block access to the /debug and /metrics paths on the authenticate service. This can be achieved using any Layer 7 (L7) proxy, including Pomerium's own proxy service. By configuring the proxy to deny requests to these paths, the exposure of debug and metrics endpoints can be mitigated.

Conclusion

The exposure of debug and metrics endpoints in Pomerium's Authenticate service poses a moderate security risk. Upgrading to version 0.17.1 or later, or implementing the provided workaround, will help mitigate this vulnerability. It is recommended to stay updated with the latest security advisories and promptly apply patches to ensure the security of Pomerium installations.

See every vulnerability recorded for github.com/pomerium/pomerium →

Share this vulnerability

FAQ

The vulnerability can result in the leakage of potentially sensitive environmental information and may lead to limited denial of service conditions.

Update Pomerium to version 0.17.1 or later, which includes the necessary patches to restrict access to the debug and metrics endpoints.

Yes, you can block access to the /debug and /metrics paths on the authenticate service using a Layer 7 (L7) proxy.

There are no known exploits for this vulnerability at the time of this advisory.

For more information, you can open an issue in the Pomerium GitHub repository or email security@pomerium.com.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/pomerium/pomerium.

How To Fix

Latest published version: v0.33.4 as of 22 Oct 2026

go get github.com/pomerium/pomerium@v0.33.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.17.1

This is the first release that contains the fix.

go get github.com/pomerium/pomerium@v0.17.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback