CVE-2022-31162
HIGH 7.5CVSS 3.1Slack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs
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.
- Published
- 22 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1258CWE-200CWE-212
- Also known as
- GHSA-99j7-mhfh-w84pRUSTSEC-2022-0086
- Sources
- NVDJSONOSV GHSA-99j7-mhfh-w84pJSONOSV RUSTSEC-2022-0086JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | slack_morphism_project | slack_morphismcpe:2.3:a:slack_morphism_project:slack_morphism:*:*:*:*:*:rust:*:* |
< 0.41.0 | 0.41.0 |
| OSV | crates.io | slack-morphism | < 0.41.0 | 0.41.0 |
| OSV | crates.io | slack-morphism | >= 0.0.0-0, < 0.41.0 | 0.41.0 |
References
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31162 · ADVISORY
- https://github.com/abdolence/slack-morphism-rust/pull/133 · WEB
- https://github.com/abdolence/slack-morphism-rust/commit/4923fb7d458ed28c0302244c54cb4df0acee7ee6 · WEB
- https://github.com/abdolence/slack-morphism-rust · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0086.html · WEB, ADVISORY
- https://crates.io/crates/slack-morphism · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 22 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jul 2022)