GitHub Advisoryadvisory · crates.io
GHSA-99j7-mhfh-w84p Slack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs
HIGH
Official page ↗
- Aliases
- CVE-2022-31162
- Ecosystem
- crates.io
- Packages
- slack-morphism
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-1258, CWE-200, CWE-212
- Reviewed
- 2022-07-20
Affected packages
• crates.io slack-morphism: < 0.41.0 → fixed in 0.41.0
Description
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
• Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2022-31162 Slack Morphism is an async client library for Rust. vulnerability
References
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p 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://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0 web
- https://rustsec.org/advisories/RUSTSEC-2022-0086.html web