# CVE-2022-31162: Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-07-20T01:30:21.000Z
- Modified: 2026-06-17T04:44:56.343Z
- Also known as: GHSA-99j7-mhfh-w84p, RUSTSEC-2022-0086
- Weaknesses: CWE-200, CWE-212, CWE-1258
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- abdolence slack-morphism-rust: < 0.41.0
- slack-morphism (crates.io): before 0.41.0; from 0.0.0-0 before 0.41.0
- slack_morphism_project slack_morphism: before 0.41.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p> (third-party-advisory, web)
- <https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0> (release-notes, 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> (advisory, web)
- <https://crates.io/crates/slack-morphism> (package)

## Sources

- CVE List: [CVE-2022-31162](https://www.cve.org/CVERecord?id=CVE-2022-31162), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-99j7-mhfh-w84p](https://github.com/advisories/GHSA-99j7-mhfh-w84p), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2022-0086](https://rustsec.org/advisories/RUSTSEC-2022-0086.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2022-31162](https://nvd.nist.gov/vuln/detail/CVE-2022-31162), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31162 · Whole record: https://cve.day/CVE-2022-31162.json · Rebuilt by cve.day 2026-11-25T22:58:13.156Z
