GHSA-qwf7-rv77-fcr3: Duplicate Advisory Path Traversal Vulnerability
LOWGHSA-qwf7-rv77-fcr3 is a LOW path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Duplicate Advisory libraries in the RubyGems ecosystem. The issue involves malicious url drafting attack against iodines static file server may allow path traversal. Remediation is available in the latest vendor maintenance releases.
GHSA-qwf7-rv77-fcr3 at a Glance
How to Fix GHSA-qwf7-rv77-fcr3
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 iodine to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for iodine
How to Check if You Are Affected
To determine whether your application is affected by GHSA-qwf7-rv77-fcr3, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for iodine
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Duplicate Advisory, 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-qwf7-rv77-fcr3 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
iodine
|
RubyGems |
|
|
References
Frequently Asked Questions
What is GHSA-qwf7-rv77-fcr3?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-qwf7-rv77-fcr3?
Is iodine affected?
What CWE is associated with GHSA-qwf7-rv77-fcr3?
How can I check RubyGems dependencies for GHSA-qwf7-rv77-fcr3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qwf7-rv77-fcr3",
"modified" : "2024-01-05T15:28:54Z",
"published" : "2024-01-04T21:30:24Z",
"withdrawn" : "2024-01-05T15:28:54Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Malicious URL drafting attack against iodines static file server may allow path traversal",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-85rf-xh54-whp3. This link is maintained to preserve external references.\n\n### Original Description\nPath traversal in the static file service in Iodine less than 0.7.33 allows an unauthenticated, remote attacker to read files outside the public folder via malicious URLs.\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "iodine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 0.7.33"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/boazsegev/iodine/security/advisories/GHSA-85rf-xh54-whp3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-22050"
}, {
"type" : "WEB",
"url" : "https://github.com/boazsegev/iodine/commit/5558233fb7defda706b4f9c87c17759705949889"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-85rf-xh54-whp3"
}, {
"type" : "WEB",
"url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-85rf-xh54-whp3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-05T15:28:54Z",
"nvd_published_at" : "2024-01-04T21:15:10Z"
}
}