CVE-2022-3145 @okta/oidc-middlewareOpen Redirect vulnerability
An attacker can redirect users to arbitrary URLs via the Okta OIDC Middleware, potentially facilitating phishing attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-3145?
CVE-2022-3145 is a medium-severity vulnerability in Okta OIDC Middleware, published on 12 Jan 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An open redirect vulnerability exists in Okta OIDC Middleware prior to version 5.0.0 allowing an attacker to redirect a user to an arbitrary URL.
Weakness: CWE-601
Which versions are affected by CVE-2022-3145?
2 open source packages ship an affected version, including @okta/oidc-middleware. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@okta/oidc-middleware npm | All versions | 5.0.0 |
@okta/oidc-middleware npm | All versions | 5.0.0 |
Products include Okta Oidc Middleware.
How do I fix CVE-2022-3145?
Upgrade @okta/oidc-middleware to 5.0.0 or later.
Is CVE-2022-3145 being exploited?
There is no known exploitation of CVE-2022-3145 in the wild and no public exploit code.
Sources
Also known as GHSA-58h4-9m7m-j9m4.