Measured is vulnerable to Path Traversal attacks during class initializationGHSA-29g5-m8v7-v564
Fix: Shopify/measured@d631998GHSA-29g5-m8v7-v564 is a security vulnerability in measured. A fix is available for measured — see the affected versions and patch details below.
Real-World Exposure
measuredReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Impact
A path traversal vulnerability exists where an attacker with access to manipulate inputs when initializing the Measured::Cache::Json class would be able to instruct the library to read arbitrary files.
Patches
Users should update to the latest version.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | measured | all versions | 3.2.1bundle update measured --conservative |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for measured, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update measured to 3.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-29g5-m8v7-v564 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-29g5-m8v7-v564 in your dependencies?
Find it across RubyGems, including transitive dependencies.