Loading...
Skip to main content

CVE-2022-31162 — Vulnerability in slack-morphism — CVE Details

HIGH

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

Published July 20, 2022Updated November 8, 2023Source: osv

Summary

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

Advisory Timeline

  • First published July 20, 2022 (1545 days ago).
  • Last revised November 8, 2023 — 476 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update slack-morphism to 0.41.0 or later
cargo update -p slack-morphism --precise 0.41.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
slack-morphism
crates.io
All versions0.41.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2022-31162?
Slack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2022-31162?
CVE-2022-31162 affects slack-morphism. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31162 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-99j7-mhfh-w84p
RUSTSEC-2022-0086

Related CVEs

  • CVE-2022-39292
    HIGH

    Exposure of sensitive Slack webhook URLs in debug logs and traces

  • CVE-2026-93657
    HIGH

    hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures

  • CVE-2026-18140
    HIGH

    aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies