@chat-adapter/slack is vulnerable to Information Disclosure
55
CVE Score
Medium
Information Disclosure
Slack sets a remote file's url_private to the external_url supplied to files.remote.add, and that URL does not have to be a Slack host. @chat-adapter/slack fetchSlackFile in packages/adapter-slack/src/index.ts (message attachments and rehydrateAttachment) and packages/adapter-slack/src/api/client.ts fetches that URL with the bot bearer token and no origin check, so a download sends the token to the remote host, where it can be used with the bot's Slack scopes. The adapter fetch also follows the URL with no private-address check. Version 4.39.0 attaches the bearer token only for trusted Slack file origins or the configured API origin, and the adapter downloader refuses non-HTTPS and internal addresses.
Upgrade the @chat-adapter/slack library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your deployment downloads Slack message file attachments through this adapter.
4.0.0 - 4.38.1
Fixed in 4.39.0@chat-adapter/slack is vulnerable to Information Disclosure in versions 4.0.0 - 4.38.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.