Exposure of debug and metrics endpoints in Pomerium
Published 6 Sept 2024 · Updated 6 Sept 2024
Is your project on an affected github.com/pomerium/pomerium?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=0.16.0 <0.17.1
- Fixed in
- 0.17.1
go get github.com/pomerium/pomerium@v0.17.1Details
Impact
In distributed service mode, Pomerium's Authenticate service exposes pprof debug and prometheus metrics handlers to untrusted traffic. This can leak potentially sensitive environmental information or lead to limited denial of service conditions.
Patches
v0.17.1
Workarounds
Block access to /debug and /metrics paths on the authenticate service. This can be done with any L7 proxy, including Pomerium's own proxy service.
References
https://github.com/pomerium/pomerium/pull/3212
For more information
If you have any questions or comments about this advisory:
- Open an issue in Pomerium
- Email us at [security@pomerium.com](mailto:security@pomerium.com)
Is GHSA-q98f-2x4p-prjr in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/pomerium/pomerium, and gives you the command that fixes it.
More advisories for github.com/pomerium/pomerium
- HighCVE-2026-50285Pomerium Pre-Auth Memory Exhaustion via Unbounded zstd Decompression in HPKE Callback · 15 Jul 2026
- LowCVE-2024-47616Pomerium service account access token may grant unintended access to databroker API in github.com/pomerium/pomerium · 9 Oct 2024
- HighCVE-2024-47616Pomerium service account access token may grant unintended access to databroker API · 2 Oct 2024
- LowCVE-2021-39162Incorrect handling of H2 GOAWAY + SETTINGS frames in github.com/pomerium/pomerium · 21 Aug 2024
- LowCVE-2021-29652pomerium_signature is not verified in middleware in github.com/pomerium/pomerium · 21 Aug 2024
- LowCVE-2021-29651JWT leak via Open Redirect in Programmatic access in github.com/pomerium/pomerium · 21 Aug 2024
References
- Linkgithub.com/pomerium/pomerium/security/advisories/GHSA-q98f-2x4p-prjr
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-24797
- Linkgithub.com/pomerium/pomerium/pull/3212
- Linkgithub.com/pomerium/pomerium/commit/b435f73e2b54088da2aca5e8c3aa1808293d6903
- Packagegithub.com/pomerium/pomerium
- Linkpkg.go.dev/vuln/GO-2022-0413
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.