CVE-2023-46497 Directory Traversal in evershop

Medium 5.4 Published Updated

A remote attacker can obtain sensitive information via a crafted request exploiting a directory traversal flaw in the EverShop NPM library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46497?

CVE-2023-46497 is a medium-severity path traversal vulnerability in n/a, published on 8 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directory Traversal vulnerability in EverShop NPM versions before v.1.0.0-rc.8 allows a remote attacker to obtain sensitive information via a crafted request to the mkdirSync function in the folderCreate/createFolder.js endpoint.

Weakness: CWE-22

Which versions are affected by CVE-2023-46497?

2 open source packages ship an affected version, including @evershop/evershop. It affects 1 product.

PackageAffectedFixed in
@evershop/evershop npmAll versions1.0.0-rc.8
@evershop/evershop npmAll versions1.0.0-rc.8

Products include Evershop Evershop.

How do I fix CVE-2023-46497?

Upgrade @evershop/evershop to 1.0.0-rc.8 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-46497 being exploited?

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

Sources

Also known as GHSA-7443-5962-wp4r.

Is CVE-2023-46497 in your software?

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

Check your SBOMs for free