Vulnerabilities in pkg:gem/guard-livereload

PACKAGE
Advisory Identifier: GHSA-g65v-27r3-5p6m
Advisory Summary

CVE-2016-1000305 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Guard livereload libraries in the RubyGems ecosystem. The issue involves guard-livereload has a directory traversal vulnerability. Remediation is available by upgrading affected packages to version 2.5.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/guard-livereload

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/guard-livereload. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-g65v-27r3-5p6m CVE-2016-1000305 MODERATE guard-livereload has a directory traversal vulnerability

CVE-2016-1000305 at a Glance

CVE Identifier CVE-2016-1000305
GHSA Identifier GHSA-g65v-27r3-5p6m
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Guard livereload
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2016-1000305

To remediate this vulnerability, upgrade all affected Guard livereload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

guard-livereload fixed: 2.5.2
Upgrade guard-livereload to 2.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for guard-livereload

How to Check if You Are Affected

To determine whether your application is affected by CVE-2016-1000305, inspect your project dependencies for Guard livereload:

inspect dependencies for guard-livereload

Analyze the terminal output to locate any version of Guard livereload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Guard livereload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2016-1000305 Affected Guard livereload Versions

1 component(s)
Fixed Versions:
2.5.2
Product / Package Ecosystem Affected Versions Fixed Version
guard-livereload
RubyGems
< 2.5.2
2.5.2

References

Frequently Asked Questions

What is CVE-2016-1000305?
CVE-2016-1000305 is a security vulnerability in Guard livereload involving guard-livereload has a directory traversal vulnerability under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Guard livereload versions are affected?
Affected versions include releases prior to 2.5.2 across affected packages: guard-livereload.
What version fixes CVE-2016-1000305?
Upgrading to 2.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is guard-livereload affected?
Yes, guard-livereload is affected in releases prior to 2.5.2. Upgrade your dependency to 2.5.2 or later.
What CWE is associated with CVE-2016-1000305?
CVE-2016-1000305 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check RubyGems dependencies for CVE-2016-1000305?
Run the dependency tree command: 'inspect dependencies for guard-livereload'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g65v-27r3-5p6m",
  "modified" : "2026-07-31T22:33:01Z",
  "published" : "2026-07-31T22:33:01Z",
  "aliases" : [ "CVE-2016-1000305" ],
  "summary" : "guard-livereload has a directory traversal vulnerability",
  "details" : "The vulnerability allows remote attackers to read arbitrary files\non the server by exploiting improper path validation in the\nlivereload server functionality.\n\nThis vulnerability is related to the handling of file paths in the\nlivereload server component, which could allow an attacker to traverse\ndirectories and access files outside the intended web root directory.\n\nThe issue was identified and reported through the DWF (Distributed\nWeakness Filing) project, which assigns CVE identifiers for\nsecurity vulnerabilities.\n\nA directory traversal vulnerability exists in\nguard-livereload before version 2.5.2.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "guard-livereload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.5.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/guard/guard-livereload/issues/159"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/guard/guard-livereload/pull/158"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/guard/guard-livereload"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml"
  }, {
    "type" : "WEB",
    "url" : "https://security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-31T22:33:01Z",
    "nvd_published_at" : null
  }
}