olm dependency deprecation: CVE-2022-39255 and CVE-2024-45193GHSA-wchh-9x6h-7f6p
Fix: matrix-nio/matrix-nio#555GHSA-wchh-9x6h-7f6p is a security vulnerability in matrix-commander. No vendor fix is recorded yet; mitigation options are listed below.
Real-World Exposure
matrix-commanderReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Problem
Multiple vulnerabilities were disclosed in 2024 affecting libolm (Olm): AES timing / side‑channel, Ed25519 signature malleability, and timing leaks in base64 decoding; several CVEs were assigned. Patches and mitigations were published; maintainers recommend upgrading to fixed versions. In addition, a 2022 “Olm/Megolm protocol confusion” advisory affecting some SDKs was critical and required client-side fixes. Use patched versions of libolm and up-to-date Matrix SDKs; avoid unpatched clients/servers.
Olm is a dependency of matrix-commander (Python version, not Rust version).
WARNING:
Due to cryptographic olm dependency deprecation, this program is cryptographically unsafe to use until https://github.com/matrix-nio/matrix-nio/pull/555 is merged. Good news: https://github.com/8go/matrix-commander-rs is a Rust alternative not having this issue.
References
- CVE-2022-39255
- CVE-2024-45193
- https://soatok.blog/2024/08/14/security-issues-in-matrixs-olm-library/
- https://nvd.nist.gov/nvd.cfm?cvename=CVE-2024-45193
- https://github.com/matrix-org/matrix-ios-sdk/security/advisories/GHSA-hw6g-j8v6-9hcm
Workarounds
- use the Rust version: https://github.com/8go/matrix-commander-rs
Severity:
Medium
CVE-2022-39255 — MEDIUM (NVD/MITRE lists CVSS base score 5.x — treated as Medium).
CVE-2024-45193 — MEDIUM (NVD shows CVSS 3.1 base score ~4.3 — Medium)
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | matrix-commander | all versions | No fix |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for matrix-commander, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
No patched version of matrix-commander has shipped for GHSA-wchh-9x6h-7f6p yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.
Mitigate without a patch
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-wchh-9x6h-7f6p in your dependencies?
Find it across PyPI, including transitive dependencies.