CVE-2022-31162 json
Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs
published 2022-07-20 4 y ago modified 2026-06-17 4 mo ago also GHSA-99j7-mhfh-w84p , RUSTSEC-2022-0086 , EUVD-2022-6305
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io slack-morphism 0.41.0
- slack_morphism_project slack_morphism 0.41.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | slack-morphism | <0.41.0 >=0.0.0-0, <0.41.0 |
0.41.0 |
Affected products
- abdolence slack-morphism-rust
Classification
References
-
github.com
/abdolence/slack-morphism-rust/pull/133
web
-
github.com
/abdolence/slack-morphism-rust/commit/4923fb7d458ed28c0302244c54cb4df0acee7ee6
web
-
github.com
/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p
web, third-party-advisory
-
github.com
/abdolence/slack-morphism-rust/releases/tag/v0.41.0
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31162
advisory
-
github.com
/abdolence/slack-morphism-rust
package
-
rustsec.org
/advisories/RUSTSEC-2022-0086.html
web, advisory
-
crates.io
/crates/slack-morphism
package
Sources
- CVE List CVE-2022-31162
- GitHub Advisory GHSA-99j7-mhfh-w84p
- NVD CVE-2022-31162
- OSV RUSTSEC-2022-0086
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.