GHSA-29g5-m8v7-v564 Measured is vulnerable to Path Traversal attacks during class initialization
An attacker can read arbitrary files by manipulating inputs during Measured::Cache::Json class initialization in this Ruby library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-29g5-m8v7-v564?
GHSA-29g5-m8v7-v564 is a path traversal vulnerability in measured, published on 15 Jul 2025.
Official 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.
Which versions are affected by GHSA-29g5-m8v7-v564?
2 open source packages ship an affected version, including measured.
| Package | Affected | Fixed in |
|---|---|---|
measured RubyGems | All versions | 3.2.1 |
measured RubyGems | All versions | 3.2.1 |
How do I fix GHSA-29g5-m8v7-v564?
Upgrade measured to 3.2.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-29g5-m8v7-v564 being exploited?
There is no known exploitation of GHSA-29g5-m8v7-v564 in the wild and no public exploit code.