7.5high
Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.94% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-99j7-mhfh-w84pRUSTSEC-2022-0086
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
| Product or package | Versions | Reported by |
|---|---|---|
| abdolence slack-morphism-rust | < 0.41.0 | CVE List |
| slack-morphism (crates.io) | before 0.41.0, from 0.0.0-0 before 0.41.0 | GitHub Advisory Database, RustSec Advisory Database |
| slack_morphism_project slack_morphism | before 0.41.0 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| RustSec Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Potential/accidental leaking of Slack OAuth client information in application debug logs.
Patches
More strict and secure debug formatting was introduced in v0.41 for OAuth secret types to avoid the possibility of printing sensitive information in application logs.
Workarounds
Don't print/output in logs request and responses for OAuth and client configurations.
For more information
If you have any questions or comments about this advisory:
- Open an issue in the repo
- Email us at me@abdolence.dev
RustSec Advisory Database
Debug log formatting made it possible to leak OAuth secrets into debug logs.
The patched version has introduced more strict checks to avoid this.
NVD (es)
Slack Morphism es una biblioteca cliente asíncrona para Rust. En versiones anteriores a 0.41.0, era posible que la información del cliente Slack OAuth fuera filtrada en los registros de depuración de la aplicación. En la versión 0.41.0 fue introducido un formato de depuración más estricto y seguro para los tipos de secreto OAuth con el fin de reducir la posibilidad de imprimir información confidencial en los registros de la aplicación. Como mitigación, no imprimas/impresiones de peticiones y respuestas para OAuth y configuraciones de clientes en los registros
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31162 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-99j7-mhfh-w84p changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0086 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2022-31162 changed 2026-06-17 | Public domain |