GHSA-2gq2-m628-33xp gregwar/rst Local File Inclusion Vulnerability
An attacker can exploit inadequate input validation in the gregwar/rst library to include arbitrary files and read sensitive server data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-2gq2-m628-33xp?
GHSA-2gq2-m628-33xp is a path traversal vulnerability in gregwar/rst, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-2gq2-m628-33xp?
2 open source packages ship an affected version, including gregwar/rst.
| Package | Affected | Fixed in |
|---|---|---|
gregwar/rst Packagist | All versions | 1.0.3 |
gregwar/rst Packagist | All versions | 1.0.3 |
How do I fix GHSA-2gq2-m628-33xp?
Upgrade gregwar/rst to 1.0.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-2gq2-m628-33xp being exploited?
There is no known exploitation of GHSA-2gq2-m628-33xp in the wild and no public exploit code.