What’s Vulnerable › Vulnerabilities
CVE-2022-31162: Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-07-22 · updated 2026-06-17
- Weakness: CWE-200
Description
Slack Morphism is an async client library for Rust. Prior to 0.41.0, it was possible for Slack OAuth client information to leak in application debug logs. Stricter and more secure debug formatting was introduced in v0.41.0 for OAuth secret types to reduce the possibility of printing sensitive information in application logs. As a workaround, do not print/output requests and responses for OAuth and client configurations in logs.
Affected products
- abdolence slack-morphism-rust: before 0.41.0 — fixed in 0.41.0
How to fix
Upgrade to a fixed version: abdolence slack-morphism-rust 0.41.0. Check the vendor advisory for mitigations.
References
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p
Get alerted when CVE-2022-31162 or the next vulnerability affects your stack