CVE-2021-3924 Path Traversal in getgrav/grav

High 8.8 Published Updated

Attackers can exploit a path traversal vulnerability in Grav CMS 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-3924?

CVE-2021-3924 is a high-severity path traversal vulnerability in Getgrav Grav, published on 5 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Weakness: CWE-22

Which versions are affected by CVE-2021-3924?

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

PackageAffectedFixed in
getgrav/grav PackagistAll versions to 1.7.24None
getgrav/grav PackagistAll versions to 1.7.24None

Products include Getgrav Grav.

How do I fix CVE-2021-3924?

No fix has been published for CVE-2021-3924 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-3924 being exploited?

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

All Getgrav Grav vulnerabilities

Sources

Also known as GHSA-8c5p-4362-9333.

Is CVE-2021-3924 in your software?

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

Check your SBOMs for free