CVE-2022-31162
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.
Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
0.917%
chance of exploitation in the next 30 days
higher than 60.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-1258: Exposure of Sensitive System Information Due to Uncleared Debug Information
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-04-23 |
Timeline
- 2022-07-20GitHub advisory published (GHSA-99j7-mhfh-w84p)1 day before publication
- 2022-07-21Published by the CNA13:20 UTC
- 2025-04-23CISA SSVC decision recorded1007 days after publication
Exploit and advisory records
GitHub advisory GHSA-99j7-mhfh-w84p, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| crates.io slack-morphism | before 0.41.0 | 0.41.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| slack_morphism_project slack_morphism | before 0.41.0fixed in 0.41.0 | 0.41.0 |
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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-31162'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-31162'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-31162'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-31162'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).