GHSA-58h4-9m7m-j9m4

Suggest an improvement
Source
https://github.com/advisories/GHSA-58h4-9m7m-j9m4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-58h4-9m7m-j9m4/GHSA-58h4-9m7m-j9m4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-58h4-9m7m-j9m4
Aliases
Published
2023-01-09T20:06:02Z
Modified
2026-07-08T06:30:02Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N CVSS Calculator
Summary
@okta/oidc-middlewareOpen Redirect vulnerability
Details

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.

Affected products and versions Okta OIDC Middleware prior to version 5.0.0.

Resolution The vulnerability is fixed in OIDC Middleware 5.0.0. To remediate this vulnerability, upgrade Okta OIDC Middleware to this version or later.

CVE details CVE ID: CVE-2022-3145 Published Date: 01/05/2023 Vulnerability Type: Open Redirect CWE: CWE-601 CVSS v3.1 Score: 4.3 Severity: Medium Vector string: AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Severity Details To exploit this issue, an attacker would need to send a victim a malformed URL containing a target server that they control. Once a user successfully completed the login process, the victim user would then be redirected to the attacker controlled site.

References https://github.com/okta/okta-oidc-middleware

Database specific
{
    "cwe_ids":  [
        "CWE-601"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-01-09T20:06:02Z",
    "nvd_published_at":  "2023-01-12T19:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / @okta/oidc-middleware

Package

Name
@okta/oidc-middleware
View open source insights on deps.dev
Purl
pkg:npm/%40okta/oidc-middleware

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-58h4-9m7m-j9m4/GHSA-58h4-9m7m-j9m4.json"