CVE-2022-31162
highpriority · track · 30EPSS 0.009 · 60 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- slack morphism project slack morphism< 0.41.0nvdUScpe:2.3:a:slack_morphism_project:slack_morphism:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-99j7-mhfh-w84pSlack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs2022-07-20ghsa · osvUS
### 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](https://github.com/abdolence/slack-morphism-rust) * Email us at [me@abdolence.dev](mailto:me@abdolence.dev)
- RUSTSEC-2022-0086Slack OAuth Secrets leak in debug logs2022-07-22vendor · osvUS
Debug log formatting made it possible to leak OAuth secrets into debug logs. The patched version has introduced more strict checks to avoid this.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-31162/cnnvd
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0cnnvd
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84pcnnvd
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0enisa_euvd
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84penisa_euvd
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0Release NotesThird Party Advisorynvd
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84pThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan