{"id":"CVE-2022-31162","aliases":["EUVD-2022-6305","GHSA-99j7-mhfh-w84p","RUSTSEC-2022-0086"],"status":"published","title":"Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00917,"percentile":0.60653,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1258","CWE-200","CWE-212"],"published":"2022-07-20T01:30:21Z","modified":"2026-10-28T02:30:24Z","fixes":[{"ecosystem":"crates.io","package":"slack-morphism","fixed_in":["0.41.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"slack-morphism","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.41.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"slack-morphism","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.41.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"slack-morphism","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.41.0"}]}]}],"products":[{"vendor":"abdolence","product":"slack-morphism-rust"},{"vendor":"slack_morphism_project","product":"slack_morphism"}],"references":[{"url":"https://github.com/abdolence/slack-morphism-rust/security/advisories/GHSA-99j7-mhfh-w84p","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/abdolence/slack-morphism-rust/releases/tag/v0.41.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31162","tags":["advisory"]},{"url":"https://github.com/abdolence/slack-morphism-rust/pull/133","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0086.html","tags":["web","advisory"]},{"url":"https://github.com/abdolence/slack-morphism-rust/commit/4923fb7d458ed28c0302244c54cb4df0acee7ee6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-99j7-mhfh-w84p"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31162.json","tags":["advisory"]},{"url":"https://github.com/abdolence/slack-morphism-rust","tags":["package"]},{"url":"https://crates.io/crates/slack-morphism","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31162","title":"Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs","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.","status":"published","published":"2022-07-21T13:20:12Z","modified":"2025-04-23T17:57:53.113Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-1258","CWE-200"],"updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6305","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.","status":"published","published":"2022-07-21T13:20:12Z","modified":"2025-04-23T17:57:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:09.919052Z"}],"ghsa":[{"id":"GHSA-99j7-mhfh-w84p","title":"Slack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs","description":"### Impact\nPotential/accidental leaking of Slack OAuth client information in application debug logs.\n\n### Patches\nMore 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.\n\n### Workarounds\nDon't print/output in logs request and responses for OAuth and client configurations.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [repo](https://github.com/abdolence/slack-morphism-rust)\n* Email us at [me@abdolence.dev](mailto:me@abdolence.dev)\n","status":"published","published":"2022-07-20T01:30:21Z","modified":"2023-07-24T19:42:54Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-200","CWE-212","CWE-1258"],"updated_at":"2026-11-02T14:36:58.177785Z"}],"nvd":[{"id":"CVE-2022-31162","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.","status":"published","published":"2022-07-22T04:15:14.187Z","modified":"2026-06-17T04:44:56.343Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-200","CWE-1258","CWE-212"],"updated_at":"2026-11-02T14:07:24.037422Z"}],"osv":[{"id":"CVE-2022-31162","title":"Slack Morphism for Rust before 0.41.0 can accidentally leak Slack OAuth client information in application debug logs","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.","status":"published","published":"2022-07-21T13:20:12Z","modified":"2026-10-28T02:30:24.006748165Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-1258","CWE-200"],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GHSA-99j7-mhfh-w84p","title":"Slack Morphism for Rust before 0.41.0 can leak Slack OAuth client information in application debug logs","description":"### Impact\nPotential/accidental leaking of Slack OAuth client information in application debug logs.\n\n### Patches\nMore 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.\n\n### Workarounds\nDon't print/output in logs request and responses for OAuth and client configurations.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [repo](https://github.com/abdolence/slack-morphism-rust)\n* Email us at [me@abdolence.dev](mailto:me@abdolence.dev)\n","status":"published","published":"2022-07-20T01:30:21Z","modified":"2023-11-08T04:09:28.280996Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-1258","CWE-200","CWE-212"],"updated_at":"2026-11-02T15:46:43.524801Z"},{"id":"RUSTSEC-2022-0086","title":"Slack OAuth Secrets leak in debug logs","description":"Debug log formatting made it possible to leak OAuth secrets into debug logs.\n\nThe patched version has introduced more strict checks to avoid this.","status":"published","published":"2022-07-22T12:00:00Z","modified":"2023-11-08T04:09:28.280996Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:39.971022Z"}]}}
