Advisory

GHSA-99j7-mhfh-w84p

Also known as: CVE-2022-31162, RUSTSEC-2022-0086

Summary

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

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-07-20 01:30 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

slack-morphism

crates.io · All systems

Affected

  • introduced 0, fixed 0.41.0 (semver)

Fixed versions

0.41.0

Fix

  • Fixed version 0.41.0
    cargo update -p slack-morphism --precise 0.41.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences