GHSA-g65v-27r3-5p6m
guard-livereload has a directory traversal vulnerability
Quick fix
GHSA-g65v-27r3-5p6m — guard-livereload: upgrade to the fixed version with the command below.
bundle update guard-livereload Details
The vulnerability allows remote attackers to read arbitrary files on the server by exploiting improper path validation in the livereload server functionality.
This vulnerability is related to the handling of file paths in the livereload server component, which could allow an attacker to traverse directories and access files outside the intended web root directory.
The issue was identified and reported through the DWF (Distributed Weakness Filing) project, which assigns CVE identifiers for security vulnerabilities.
A directory traversal vulnerability exists in guard-livereload before version 2.5.2.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/guard/guard-livereload/issues/159 [WEB]
- https://github.com/guard/guard-livereload/pull/158 [WEB]
- https://github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8 [WEB]
- https://github.com/guard/guard-livereload [PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml [WEB]
- https://security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361 [WEB]