CVE-2021-3915 Unrestricted Upload of File with Dangerous Type in bookstackapp/bookstack

High 7.6 Published Updated

Attackers can upload dangerous file types to BookStack, potentially leading to remote code execution on the server.

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

What is CVE-2021-3915?

CVE-2021-3915 is a high-severity vulnerability in bookstackapp/bookstack, published on 13 Nov 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type

Weakness: CWE-434

Which versions are affected by CVE-2021-3915?

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

PackageAffectedFixed in
ssddanbrown/bookstack PackagistAll versions21.0.3
ssddanbrown/bookstack PackagistAll versions21.0.3

Products include Bookstackapp Bookstack.

How do I fix CVE-2021-3915?

Upgrade ssddanbrown/bookstack to 21.0.3 or later.

Is CVE-2021-3915 being exploited?

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

Sources

Also known as GHSA-w2f4-hxpm-mq98.

Is CVE-2021-3915 in your software?

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

Check your SBOMs for free