CVE-2022-42975 Phoenix before 1.6.14 mishandles check_origin wildcarding
Attackers can bypass origin checks in Phoenix web applications if wildcarding is misconfigured, potentially enabling cross-site attacks.
- 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-42975?
CVE-2022-42975 is a high-severity vulnerability in n/a, published on 17 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
socket/transport.ex in Phoenix before 1.6.14 mishandles check_origin wildcarding. NOTE: LiveView applications are unaffected by default because of the presence of a LiveView CSRF token.
Weakness: CWE-863
Which versions are affected by CVE-2022-42975?
2 open source packages ship an affected version, including phoenix. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
phoenix Hex | All versions | 1.6.14 |
phoenix Hex | All versions | 1.6.14 |
Products include Phoenixframework Phoenix.
How do I fix CVE-2022-42975?
Upgrade phoenix to 1.6.14 or later.
Is CVE-2022-42975 being exploited?
There is no known exploitation of CVE-2022-42975 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-p8f7-22gq-m7j9.