GitHub Advisoryadvisory · RubyGems
GHSA-85rf-xh54-whp3 Malicious URL drafting attack against iodines static file server may allow path traversal
HIGH
Official page ↗
- Aliases
- CVE-2024-22050
- Ecosystem
- RubyGems
- Packages
- iodine
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2020-04-24
Affected packages
• RubyGems iodine: < 0.7.34 → fixed in 0.7.34
Description
Impact
A path traversal vulnerability was detected in iodine's static file service. This vulnerability effects any application running iodine's static file server on an effected iodine version.
Malicious URL drafting may cause the static file server to attempt a response containing data from files that shouldn't be normally accessible from the public folder.
Patches
The vulnerability was patched in version 0.7.34. Please upgrade to the latest version.
Workarounds
A possible workaround would be to disable the static file service and it's `X-Sendfile` support, sending static files using nginx or a source code solution (sending the data dynamically).
However, it would be better to upgrade iodine to the latest version, as it also contains non-security related fixes.
For more information
If you have any questions or comments about this advisory:
• Email Boaz Segev
Related
Alias · CVE (1)
- CVE-2024-22050 Path traversal in the static file service in Iodine less than 0.7.33 allows an unauthenticated, remote attacker to read files outside the… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/boazsegev/iodine/security/advisories/GHSA-85rf-xh54-whp3 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-22050 advisory
- https://github.com/boazsegev/iodine/commit/5558233fb7defda706b4f9c87c17759705949889 web
- https://github.com/boazsegev/iodine package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/iodine/CVE-2024-22050.yml web