{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2006-5397 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2006-5397 is a low-severity vulnerability in n/a, published on 3 Nov 2006. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2006-5397 and fix it if it is affected.\n\nWhat it is: CVE-2006-5397 is a low-severity vulnerability in n/a, published on 3 Nov 2006. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2006-5397 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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/CVE-2006-5397/ (Markdown: https://insights.sbomify.com/CVE-2006-5397/index.md)","id":"CVE-2006-5397","markdown":"https://insights.sbomify.com/CVE-2006-5397/index.md","name":"CVE-2006-5397","record":{"aliases":["DEBIAN-CVE-2006-5397","GHSA-mfr2-w78g-62fw"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"X.Org libX11","requires_auth":"none","summary":"Local attackers can read arbitrary files via a file descriptor leak in the Xinput module of libX11.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libx11","vendor":"x.org"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[],"description":"The Xinput module (modules/im/ximcp/imLcIm.c) in X.Org libX11 1.0.2 and 1.0.3 opens a file for reading twice using the same file descriptor, which causes a file descriptor leak that allows local users to read files specified by the XCOMPOSEFILE environment variable via the duplicate file descriptor.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information disclosure in n/a","id":"CVE-2006-5397","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2006"},"n_packages":0,"n_references":8,"next":{"headline":"SQL injection in n/a","id":"CVE-2006-5398"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2006-5396"},"products":["n/a"],"published":"2006-11-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Local attackers can read arbitrary files via a file descriptor leak in the Xinput module of libX11.","url":"https://insights.sbomify.com/CVE-2006-5397/"}