Description
agent-device from 0.21.36 before 0.21.37 contains a local file disclosure vulnerability that allows authenticated remote callers to read daemon-host files by opening file:// URLs. Attackers can send an open command with a file:// target through /rpc, then issue snapshot to read any plaintext file readable by the daemon account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| callstack | agent-device | 0.21.36 <0.21.37 | — |
References
- https://github.com/callstack/agent-device/security/advisories/GHSA-g87j-p64h-w8wc
- https://github.com/callstack/agent-device/commit/2deb909ec88bbbde615ec7c8f3895ef222d8ab3d
- https://github.com/callstack/agent-device/releases/tag/v0.21.37
- https://github.com/callstack/agent-device/blob/ebbaff9a6be75babdb4adcb9074d7522a2773330/packages/daemon/src/server/remote-host-input-policy.ts#L67
- https://www.vulncheck.com/advisories/agent-device-0.21.36-local-file-disclosure-via-file-navigation-in-open-command