{"id":"GHSA-2gq2-m628-33xp","aliases":[],"status":"published","title":"gregwar/rst Local File Inclusion Vulnerability","description":"A Local File Inclusion (LFI) vulnerability has been discovered in the gregwar/rst library, potentially exposing sensitive files on the server to unauthorized users. The issue arises from inadequate input validation, allowing an attacker to manipulate file paths and include arbitrary files.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-05-15T21:49:20Z","modified":"2024-11-29T05:41:31Z","fixes":[{"ecosystem":"Packagist","package":"gregwar/rst","fixed_in":["1.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"gregwar/rst","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"gregwar/rst","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3"}]}],"versions":["v1.0.0","v1.0.1","v1.0.2"]}],"references":[{"url":"https://github.com/Gregwar/RST/pull/34","tags":["web"]},{"url":"https://github.com/Gregwar/RST/commit/e8d90ccbeddd91ba3abc506079661dce234f9870","tags":["web"]},{"url":"https://hackerone.com/reports/179034","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/gregwar/rst/2016-10-31.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2gq2-m628-33xp"},{"url":"https://github.com/Gregwar/RST","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-2gq2-m628-33xp","title":"gregwar/rst Local File Inclusion Vulnerability","description":"A Local File Inclusion (LFI) vulnerability has been discovered in the gregwar/rst library, potentially exposing sensitive files on the server to unauthorized users. The issue arises from inadequate input validation, allowing an attacker to manipulate file paths and include arbitrary files.","status":"published","published":"2024-05-15T21:49:20Z","modified":"2024-05-15T21:49:22Z","updated_at":"2026-11-02T14:37:49.987036Z"}],"osv":[{"id":"GHSA-2gq2-m628-33xp","title":"gregwar/rst Local File Inclusion Vulnerability","description":"A Local File Inclusion (LFI) vulnerability has been discovered in the gregwar/rst library, potentially exposing sensitive files on the server to unauthorized users. The issue arises from inadequate input validation, allowing an attacker to manipulate file paths and include arbitrary files.","status":"published","published":"2024-05-15T21:49:20Z","modified":"2024-11-29T05:41:31.850172Z","updated_at":"2026-11-02T15:46:34.338541Z"}]}}
