CVE-2021-3874 Path Traversal in bookstackapp/bookstack

Medium 4.3 Published Updated

An attacker can exploit a path traversal vulnerability in BookStack to read arbitrary files from the server.

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

What is CVE-2021-3874?

CVE-2021-3874 is a medium-severity path traversal vulnerability in bookstackapp/bookstack, published on 15 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Weakness: CWE-22

Which versions are affected by CVE-2021-3874?

It affects 1 product.

Products include Bookstackapp Bookstack.

How do I fix CVE-2021-3874?

No fix has been published for CVE-2021-3874 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-3874 being exploited?

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

Sources

Also known as GHSA-wwh8-rr74-53qm.

Is CVE-2021-3874 in your software?

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

Check your SBOMs for free