abdolence/slack-morphism-rust · Security
Slack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs
- GHSA ID
- GHSA-99j7-mhfh-w84p
- CVE ID
- CVE-2022-31162
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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]
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CWE-212 · Improper Removal of Sensitive Information Before Storage or Transfer
- CWE-1258 · Exposure of Sensitive System Information Due to Uncleared Debug Information
References
- https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p ↗
- https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2022-31162 ↗
- https://github.com/abdolence/slack-morphism-rust/pull/133 ↗
- https://rustsec.org/advisories/RUSTSEC-2022-0086.html ↗
- https://github.com/abdolence/slack-morphism-rust/commit/4923fb7d458ed28c0302244c54cb4df0acee7ee6 ↗
- https://github.com/advisories/GHSA-99j7-mhfh-w84p ↗