Low, CVSS 3.3crates.ioAmendedPublished
Fallow: A .* glob segment let an analyzed repository make Fallow test paths in the parent of the project root
GHSA-h4fr-cmh5-qr62
- Affected
- crates.io fallow-config < 3.34.0
- Fixed in
- 3.34.0· Vendor fix available
- Issue
- Impact Fallow expands some globs from the analyzed repository on disk. Before 3.34.0, a segment such as ., .? or .. in such a glob also matched the special .. entry. The glob crate tests .. against a segment that starts with a literal .. Fallow validates plugin glob patterns and refuses absolute paths and .. segments, but these segments passed that validation. The attacker controls the repository content. The attacker must also be able to read the Fallow output, for example a CI log or a pull request comment. Then the attacker can learn if a file or directory exists in the parent of the project root: - A plugin fileExists detection pattern such as ./marker.json made the plugin active when marker.json existed in the parent directory. - An external plugin configPatterns or alwaysUsed pattern could match a config file in the parent directory. When the plugin was active and declared toolingDependencies, the tooling detection credited the related dev dependency. An unused dependency…
Recommended action: Upgrade to 3.34.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.