CVE-2022-39292: Exposure of sensitive Slack webhook URLs in debug logs and traces
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.3121%
CWE
Published
10/10/2022
Updated
2/2/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| slack-morphism | rust | < 1.3.2 | 1.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from debug logging that exposed raw Slack webhook URLs. The critical code is in connector.rs where HTTP requests are logged. Pre-patch versions (<1.3.2) contained a direct log statement using request.uri() without redaction for sensitive URLs. The commit diff shows the fix replaced request.uri() with a redacted uri_str in the debug log, and added hashing for sensitive URLs. This function handles request sending and logging, making it the clear source of exposure when handling webhook URLs marked as sensitive.