Advisory

GHSA-q98f-2x4p-prjr

Also known as: CVE-2022-24797, GO-2022-0413

Summary

Exposure of debug and metrics endpoints in Pomerium

Details

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-06 21:01 UTC
Modified
2024-09-06 21:01 UTC

Affected packages and fixes

github.com/pomerium/pomerium

Go · All systems

Affected

  • introduced 0.16.0, fixed 0.17.1 (semver)

Fixed versions

0.17.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences