GHSA-g49q-jw42-6x85: Thelounge Thelounge May Publicly Disclose Of Vulnerability
LOWGHSA-g49q-jw42-6x85 is a LOW thelounge may publicly disclose of vulnerability (General Security Weakness) affecting Thelounge libraries in the npm ecosystem. The issue involves thelounge may publicly disclose of all usernames/idents via port 113. Remediation is available in the latest vendor maintenance releases.
GHSA-g49q-jw42-6x85 at a Glance
How to Fix GHSA-g49q-jw42-6x85
To remediate this vulnerability, upgrade all affected Thelounge dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install thelounge@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls thelounge
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-g49q-jw42-6x85, inspect your project dependencies using npm:
npm ls thelounge
Analyze the terminal output to locate any version of Thelounge in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls thelounge command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Thelounge, 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
GHSA-g49q-jw42-6x85 Affected Thelounge Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
thelounge
|
npm |
≤ 4.4.3
|
|
References
Frequently Asked Questions
What is GHSA-g49q-jw42-6x85?
Which Thelounge versions are affected?
What version fixes GHSA-g49q-jw42-6x85?
Is thelounge affected?
What CWE is associated with GHSA-g49q-jw42-6x85?
How can I check npm dependencies for GHSA-g49q-jw42-6x85?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g49q-jw42-6x85",
"modified" : "2024-05-09T21:31:35Z",
"published" : "2024-05-09T21:31:35Z",
"aliases" : [ ],
"summary" : "thelounge may publicly disclose of all usernames/idents via port 113",
"details" : "Per RFC 1413, The unique identifying tuple includes not only the ports, but also the both addresses. Without the addresses, the information becomes both non-unique and public:\n- If multiple connections happen to use the same local port number (which is possible if the addresses differ), the username of the first is returned for all, resulting in the wrong ident for all but the first.\n- By not checking the connection address, the information becomes public. Because there is only a relatively small number of local ports, and the remote ports are likely to be either 6667 or 6697, it becomes trivial to scan the entire range to get a list of idents.\n\nTo prevent this from happening, disable identd or upgrade to a non vulnerable version.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "thelounge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/thelounge/thelounge/security/advisories/GHSA-g49q-jw42-6x85"
}, {
"type" : "WEB",
"url" : "https://github.com/thelounge/thelounge/pull/4872"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/thelounge/thelounge"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-09T21:31:35Z",
"nvd_published_at" : null
}
}