CVE-2016-1000305
RubyGems vulnerability
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.
Affected products
RubyGems. The exact versions are in the references.
What to do now
- Check your exposureFind out whether RubyGems runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/guard/guard-livereload/issues/159
- github.com/guard/guard-livereload/pull/158
- github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8
- github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml
- security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361
- github.com/advisories/GHSA-g65v-27r3-5p6m
- nvd.nist.gov/vuln/detail/CVE-2016-1000305
- cve.org/CVERecord?id=CVE-2016-1000305
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.