{"answers":{"affected":"2 open source packages ship an affected version, including thelounge.","exploited":"There is no known exploitation of GHSA-g49q-jw42-6x85 in the wild and no public exploit code.","fix":"No fix has been published for GHSA-g49q-jw42-6x85 yet. Limit exposure of the affected software until one is available.","what":"GHSA-g49q-jw42-6x85 is a vulnerability in thelounge, published on 9 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-g49q-jw42-6x85 and fix it if it is affected.\n\nWhat it is: GHSA-g49q-jw42-6x85 is a vulnerability in thelounge, published on 9 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-g49q-jw42-6x85 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- thelounge (npm): affected all versions up to 4.4.3; no fix listed\n- thelounge (npm): affected all versions up to 4.4.3; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-g49q-jw42-6x85/ (Markdown: https://insights.sbomify.com/GHSA-g49q-jw42-6x85/index.md)","id":"GHSA-g49q-jw42-6x85","markdown":"https://insights.sbomify.com/GHSA-g49q-jw42-6x85/index.md","name":"GHSA-g49q-jw42-6x85","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"IRC client server","requires_auth":"none","summary":"TheLounge server exposes user identities via ident protocol, allowing attackers to enumerate usernames without authentication.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"thelounge may publicly disclose of all usernames/idents via port 113","id":"GHSA-g49q-jw42-6x85","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["4.4.3"],"package":"thelounge","purl":null,"source":"GHSA-g49q-jw42-6x85"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["4.4.3"],"package":"thelounge","purl":"pkg:npm/thelounge","source":"GHSA-g49q-jw42-6x85"}],"products":null,"published":"2024-05-09","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"TheLounge server exposes user identities via ident protocol, allowing attackers to enumerate usernames without authentication.","url":"https://insights.sbomify.com/GHSA-g49q-jw42-6x85/"}