guard-livereload Ruby Gem Directory Traversal Vulnerability Under Investigation
An early warning has been issued regarding a directory traversal vulnerability in the guard-livereload Ruby gem, which reportedly allows remote attackers to read arbitrary files on the server. Users of versions prior to 2.5.2 are advised to upgrade.
What happened
The guard-livereload Ruby gem, used for live reloading in development environments, appears to have a directory traversal vulnerability tracked as GHSA-G65V-27R3-5P6M. This vulnerability, existing in versions prior to 2.5.2, could allow remote attackers to read arbitrary files on the server through a socket. The issue is currently under investigation, and it is recommended that users upgrade to version 2.5.2 or later to mitigate potential risks. For more details, consult the primary source at https://github.com/guard/guard-livereload/issues/159.
How 0Day mitigates this
guard-livereload is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.