← back
CVE-2022-31162

Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs

CVSS 7.5 HIGHEPSS 0.7%CWE-1258CWE-200
In short

Slack Morphism for Rust before version 0.41.0 could accidentally expose sensitive OAuth client secrets in application debug logs, allowing anyone with log access to potentially compromise Slack integrations.

Technical detail

The library's debug formatting for OAuth secret types was insufficiently restrictive, allowing sensitive client credentials to be printed in logs via standard Rust debug output. An attacker with read access to application logs could extract OAuth secrets to impersonate the application or gain unauthorized Slack API access. The vulnerability was remediated in v0.41.0 by implementing stricter debug formatting that redacts sensitive fields.

Summary generated and translated by AI from the official 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →