{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2004-2771 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-2771 is a high-severity command injection vulnerability in Oracle Linux, published on 24 Dec 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-2771 and fix it if it is affected.\n\nWhat it is: CVE-2004-2771 is a high-severity command injection vulnerability in Oracle Linux, published on 24 Dec 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2004-2771 in the wild and no public exploit code.\n\nAffected product: Oracle 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-2771/ (Markdown: https://insights.sbomify.com/CVE-2004-2771/index.md)","id":"CVE-2004-2771","markdown":"https://insights.sbomify.com/CVE-2004-2771/index.md","name":"CVE-2004-2771","record":{"aliases":["AZL-36961","AZL-6676","AZL-7286","DEBIAN-CVE-2004-2771","GHSA-3f68-9fxg-g2j6","UBUNTU-CVE-2004-2771"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Mail client utility","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands via shell metacharacters in email addresses processed by the mailx utility.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"bsd_mailx","vendor":"bsd_mailx_project"},{"product":"mailx","vendor":"heirloom"},{"product":"linux","vendor":"oracle"},{"product":"enterprise_linux","vendor":"redhat"}],"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":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.","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":"Command injection in n/a","id":"CVE-2004-2771","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:linux","products":["oracle:linux","redhat:enterprise_linux"],"type":"command_injection","year":"2004"},"n_packages":0,"n_references":8,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2004-2772"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2004-2769"},"products":["n/a"],"published":"2014-12-24","related":[{"cvss_score":7.8,"headline":"Command injection in mailx","id":"CVE-2014-7844","kev_date_added":null,"published":"2020-01-14"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"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 attackers can execute arbitrary commands via shell metacharacters in email addresses processed by the mailx utility.","url":"https://insights.sbomify.com/CVE-2004-2771/"}