GHSA-2gq2-m628-33xp: Gregwar/rst Gregwar/rst Local File Inclusion Vulnerability Vulnerability
HIGHGHSA-2gq2-m628-33xp is a HIGH gregwar/rst local file inclusion vulnerability vulnerability (General Security Weakness) affecting Gregwar/rst libraries in the Packagist ecosystem. The issue involves gregwar/rst local file inclusion vulnerability. Remediation is available by upgrading affected packages to version 1.0.3.
GHSA-2gq2-m628-33xp at a Glance
How to Fix GHSA-2gq2-m628-33xp
To remediate this vulnerability, upgrade all affected Gregwar/rst dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade gregwar/rst to 1.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for gregwar/rst
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2gq2-m628-33xp, inspect your project dependencies for Gregwar/rst:
inspect dependencies for gregwar/rst
Analyze the terminal output to locate any version of Gregwar/rst in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Gregwar/rst, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-2gq2-m628-33xp Affected Gregwar/rst Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gregwar/rst
|
Packagist |
< 1.0.3
|
1.0.3
|
References
Frequently Asked Questions
What is GHSA-2gq2-m628-33xp?
Which Gregwar/rst versions are affected?
What version fixes GHSA-2gq2-m628-33xp?
Is gregwar/rst affected?
What CWE is associated with GHSA-2gq2-m628-33xp?
How can I check Packagist dependencies for GHSA-2gq2-m628-33xp?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2gq2-m628-33xp",
"modified" : "2024-05-15T21:49:20Z",
"published" : "2024-05-15T21:49:20Z",
"aliases" : [ ],
"summary" : "gregwar/rst Local File Inclusion Vulnerability",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "gregwar/rst"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Gregwar/RST/pull/34"
}, {
"type" : "WEB",
"url" : "https://github.com/Gregwar/RST/commit/e8d90ccbeddd91ba3abc506079661dce234f9870"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/179034"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/gregwar/rst/2016-10-31.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Gregwar/RST"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T21:49:20Z",
"nvd_published_at" : null
}
}