{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2004-1162 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2004-1162 yet. Limit exposure of the affected software until one is available.","what":"CVE-2004-1162 is a high-severity command injection vulnerability in Gentoo Linux, published on 10 Dec 2004. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2004-1162 and fix it if it is affected.\n\nWhat it is: CVE-2004-1162 is a high-severity command injection vulnerability in Gentoo Linux, published on 10 Dec 2004. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2004-1162 in the wild and no public exploit code.\n\nAffected product: Gentoo Linux. 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-2004-1162/ (Markdown: https://insights.sbomify.com/CVE-2004-1162/index.md)","id":"CVE-2004-1162","markdown":"https://insights.sbomify.com/CVE-2004-1162/index.md","name":"CVE-2004-1162","record":{"aliases":["GHSA-44fx-h63q-q327"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"scponly SSH wrapper","requires_auth":"low_privilege","summary":"Remote authenticated users can bypass access restrictions and execute arbitrary programs via unison command flags in scponly.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"linux","vendor":"gentoo"},{"product":"scponly","vendor":"scponly"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"The unison command in scponly before 4.0 does not properly restrict programs that can be run, which could allow remote authenticated users to bypass intended access restrictions and execute arbitrary programs via the (1) -rshcmd or (2) -sshcmd flags.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2004-1162","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gentoo:linux","products":["gentoo:linux"],"type":"command_injection","year":"2004"},"n_packages":0,"n_references":6,"next":{"headline":"Denial of service in n/a","id":"CVE-2004-1163"},"packages":[],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2004-1161"},"products":["n/a"],"published":"2004-12-10","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0914","kev_date_added":null,"published":"2004-12-15"},{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2004-1037","kev_date_added":null,"published":"2004-11-19"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-1034","kev_date_added":null,"published":"2004-11-16"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0891","kev_date_added":null,"published":"2004-10-21"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2002-1337","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0649","kev_date_added":null,"published":"2004-07-13"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0226","kev_date_added":null,"published":"2004-05-05"}],"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-08","vendors":["n/a"]},"summary":"Remote authenticated users can bypass access restrictions and execute arbitrary programs via unison command flags in scponly.","url":"https://insights.sbomify.com/CVE-2004-1162/"}