NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Prior to versions 3.29.3 and 4.3.3, an open redirect vulnerability is present when the developer is implementing an OAuth 1 provider. Versions 3.29.3 and 4.3.3 contain a patch for this issue. The maintainers recommend adding a certain configuration to one's callbacks option as a workaround for those unable to upgrade.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-601"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29214.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "3.29.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.3.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "next-auth@v4.3.3",
"range": [
{
"fixed": "e71118b9960a3b79543c96ee1cbe1ecbb83c98e9"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.3.3"
}
],
"source": "CPE_RANGE"
}
]
}