CVE-2024-22050 — Vulnerability in iodine — CVE Details
Malicious URL drafting attack against iodines static file server may allow path traversal
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.24%). Schedule for your next planned update.
Does your project use an affected iodine version?
Paste your Gemfile.lock to check it for CVE-2024-22050 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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
Advisory Timeline
- First published October 7, 2019 (2607 days ago).
- Last revised July 8, 2026 — 2466 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install iodine -v 0.7.34
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| iodine RubyGems · Affected: 0.0.1, 0.0.2, 0.0.3, 0.0.4 (+106 more) | 0.7.34 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/boazsegev/iodine/security/advisories/GHSA-85rf-xh54-whp3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22050ADVISORY
- https://github.com/boazsegev/iodine/commit/5558233fb7defda706b4f9c87c17759705949889WEB
- https://github.com/boazsegev/iodinePACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/iodine/CVE-2024-22050.ymlWEB
Frequently Asked Questions
- What is CVE-2024-22050?
- Malicious URL drafting attack against iodines static file server may allow path traversal. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2024-22050?
- CVE-2024-22050 affects iodine. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-22050 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 69% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-41146HIGH
Uncontrolled resource consumption and loop with unreachable exit condition in facil.io and downstream iodine ruby gem
- CVE-2026-126366HIGH
msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM
- CVE-2026-126081HIGH
Action Pack: Possible Strong Parameters Bypass in Parameters#each_key