Skip to content

Malicious URL drafting attack against iodines static file server may allow path traversal

Low severity GitHub Reviewed Published Oct 5, 2019 in boazsegev/iodine • Updated Jan 8, 2024

Package

bundler iodine (RubyGems)

Affected versions

< 0.7.34

Patched versions

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:

References

@boazsegev boazsegev published to boazsegev/iodine Oct 5, 2019
Published to the GitHub Advisory Database Oct 7, 2019
Reviewed Apr 24, 2020
Last updated Jan 8, 2024

Severity

Low

EPSS score

0.113%
(47th percentile)

Weaknesses

CVE ID

CVE-2024-22050

GHSA ID

GHSA-85rf-xh54-whp3

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.