GHSA-q98f-2x4p-prjr
Exposure of debug and metrics endpoints in Pomerium
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/pomerium/pomerium | >= 0.16.0, < 0.17.1 | 0.17.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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](https://github.com/pomerium/pomerium)
* Email us at [[email protected]](mailto:[email protected])
References
External links from the advisory. They lead to third-party sites.
- https://github.com/pomerium/pomerium/security/advisories/GHSA-q98f-2x4p-prjr
- https://nvd.nist.gov/vuln/detail/CVE-2022-24797
- https://github.com/pomerium/pomerium/pull/3212
- https://github.com/pomerium/pomerium/commit/b435f73e2b54088da2aca5e8c3aa1808293d6903
- https://github.com/pomerium/pomerium
- https://pkg.go.dev/vuln/GO-2022-0413