CVE-2015-3156: Openstack DBaaS (Trove) Improper Link Resolution Before File Access
5.5
Basic Information
Technical Details
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
trove | pip | < 4.0.0a0 | 4.0.0a0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from multiple functions across Trove's datastore implementations using predictable temporary file paths without proper atomicity checks (O_EXCL). This allows local attackers to create symlinks at expected temporary file locations, leading to configuration/file overwrites. The commit 6177498 explicitly fixes this pattern in Cassandra's write_config by introducing secure mkstemp usage, confirming the vulnerability pattern. The CVE description and GHSA advisory explicitly list all these functions as vulnerable entry points with the same flaw pattern. High confidence comes from: 1) Explicit listing in vulnerability reports, 2) Commit showing insecure pattern remediation in one component, 3) Consistent CWE-59 pattern across all listed functions.