xithrius/twitch-tui · Security
twitch-tui's connection is not encrypted
- GHSA ID
- GHSA-779w-xvpm-78jx
- CVE ID
- CVE-2023-38688
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
Summary
The connection is not using TLS for communication
Details
In the configuration of the irc connection, you are disabling tls which makes all communication to twitch irc servers unencrypted.
PoC
You can verify by using tcpdump/wireshark that traffic is unencrypted.
Impact
Communication can be sniffed, even auth tokens.
CWEs
- CWE-311 · Missing Encryption of Sensitive Data
References
- https://github.com/Xithrius/twitch-tui/security/advisories/GHSA-779w-xvpm-78jx ↗
- https://github.com/Xithrius/twitch-tui/commit/74d13ddca35f8f0816f4933c229da1fd95c0350a ↗
- https://github.com/Xithrius/twitch-tui/blob/340afc3c8c07a83289fe6ef614aa7563c8b70756/src/twitch/connection.rs#L23 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-38688 ↗
- https://github.com/advisories/GHSA-779w-xvpm-78jx ↗