CVE-2023-38688: Twitch tui Twitch-tui's Connection Is Not Encrypted Vulnerability
HIGHCVE-2023-38688 is a HIGH (CVSS 7.5) twitch-tui's connection is not encrypted vulnerability (CWE-311: Missing Encryption of Sensitive Data) affecting Twitch tui libraries in the crates.io ecosystem. The issue involves twitch-tui's connection is not encrypted. Remediation is available by upgrading affected packages to version 2.4.1.
CVE-2023-38688 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-38688
To remediate this vulnerability, upgrade all affected Twitch tui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade twitch-tui to 2.4.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for twitch-tui
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-38688, inspect your project dependencies for Twitch tui:
inspect dependencies for twitch-tui
Analyze the terminal output to locate any version of Twitch tui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-311: Missing Encryption of Sensitive Data, where the product does not encrypt sensitive or critical information before storage or transmission. In Twitch tui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-38688 Affected Twitch tui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
twitch-tui
|
crates.io |
< 2.4.1
|
2.4.1
|
References
Frequently Asked Questions
What is CVE-2023-38688?
Which Twitch tui versions are affected?
What version fixes CVE-2023-38688?
Is twitch-tui affected?
What is the CVSS score of CVE-2023-38688?
What CWE is associated with CVE-2023-38688?
How can I check crates.io dependencies for CVE-2023-38688?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-779w-xvpm-78jx",
"modified" : "2023-08-04T18:41:22Z",
"published" : "2023-07-31T22:02:54Z",
"aliases" : [ "CVE-2023-38688" ],
"summary" : "twitch-tui's connection is not encrypted",
"details" : "### Summary\nThe connection is not using TLS for communication\n\n### Details\nIn the configuration of the irc connection, [you are disabling tls](https://github.com/Xithrius/twitch-tui/blob/340afc3c8c07a83289fe6ef614aa7563c8b70756/src/twitch/connection.rs#L23) which makes all communication to twitch irc servers unencrypted.\n\n### PoC\nYou can verify by using tcpdump/wireshark that traffic is unencrypted.\n\n### Impact\nCommunication can be sniffed, even auth tokens.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "twitch-tui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Xithrius/twitch-tui/security/advisories/GHSA-779w-xvpm-78jx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-38688"
}, {
"type" : "WEB",
"url" : "https://github.com/Xithrius/twitch-tui/commit/74d13ddca35f8f0816f4933c229da1fd95c0350a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Xithrius/twitch-tui"
}, {
"type" : "WEB",
"url" : "https://github.com/Xithrius/twitch-tui/blob/340afc3c8c07a83289fe6ef614aa7563c8b70756/src/twitch/connection.rs#L23"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-311" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-31T22:02:54Z",
"nvd_published_at" : "2023-08-04T17:15:10Z"
}
}