CVE-2022-24797 Exposure of Sensitive Information in Pomerium

Medium 6.5 Published Updated

Attackers can access debug and metrics endpoints in distributed mode to leak sensitive environment data or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24797?

CVE-2022-24797 is a medium-severity vulnerability in pomerium, published on 31 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Pomerium is an identity-aware access proxy. 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. This issue is patched in version 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.

Weakness: CWE-200

Which versions are affected by CVE-2022-24797?

3 open source packages ship an affected version, including github.com/pomerium/pomerium. It affects 1 product.

PackageAffectedFixed in
github.com/pomerium/pomerium GoFrom 0.16.00.17.1
github.com/pomerium/pomerium GoFrom 0.16.00.17.1
github.com/pomerium/pomerium GoFrom 0.16.00.17.1

Products include Pomerium Pomerium.

How do I fix CVE-2022-24797?

Upgrade github.com/pomerium/pomerium to 0.17.1 or later.

Is CVE-2022-24797 being exploited?

There is no known exploitation of CVE-2022-24797 in the wild and no public exploit code.

Sources

Also known as GHSA-q98f-2x4p-prjr, GO-2022-0413.

Is CVE-2022-24797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free