CVE-2023-34247 @keystone-6/auth Open Redirect vulnerability

Medium 6.1 Published Updated

Attackers can redirect users to malicious external sites by bypassing the redirect filter in the Keystone auth package.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-34247?

CVE-2023-34247 is a medium-severity vulnerability in keystonejs keystone, published on 13 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Keystone is a content management system for Node.JS. There is an open redirect in the `@keystone-6/auth` package versions 7.0.0 and prior, where the redirect leading `/` filter can be bypassed. Users may be redirected to domains other than the relative host, thereby it might be used by attackers to re-direct users to an unexpected location. To mitigate this issue, one may apply a patch from pull request 8626 or avoid using the `@keystone-6/auth` package.

Weakness: CWE-601

Which versions are affected by CVE-2023-34247?

2 open source packages ship an affected version, including @keystone-6/auth. It affects 1 product.

PackageAffectedFixed in
@keystone-6/auth npmAll versions7.0.0
@keystone-6/auth npmAll versions7.0.0

Products include Keystonejs Keystone.

How do I fix CVE-2023-34247?

Upgrade @keystone-6/auth to 7.0.0 or later.

Is CVE-2023-34247 being exploited?

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

Sources

Also known as GHSA-jqxr-vjvv-899m.

Is CVE-2023-34247 in your software?

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

Check your SBOMs for free