{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2008-5005 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2008-5005 is a critical memory corruption vulnerability in n/a, published on 10 Nov 2008. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2008-5005 and fix it if it is affected.\n\nWhat it is: CVE-2008-5005 is a critical memory corruption vulnerability in n/a, published on 10 Nov 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2008-5005 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-2008-5005/ (Markdown: https://insights.sbomify.com/CVE-2008-5005/index.md)","id":"CVE-2008-5005","markdown":"https://insights.sbomify.com/CVE-2008-5005/index.md","name":"CVE-2008-5005","record":{"aliases":["DEBIAN-CVE-2008-5005","GHSA-9hgh-p6fq-92mm","RHSA-2009:0275"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"IMAP Toolkit","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via crafted emails, and local users can gain privileges through command-line arguments in IMAP Toolkit tools.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"alpine","vendor":"university_of_washington"},{"product":"imap_toolkit","vendor":"university_of_washington"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Multiple stack-based buffer overflows in (1) University of Washington IMAP Toolkit 2002 through 2007c, (2) University of Washington Alpine 2.00 and earlier, and (3) Panda IMAP allow (a) local users to gain privileges by specifying a long folder extension argument on the command line to the tmail or dmail program; and (b) remote attackers to execute arbitrary code by sending e-mail to a destination mailbox name composed of a username and '+' character followed by a long string, processed by the tmail or possibly dmail program.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws"],"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":"Memory corruption in n/a","id":"CVE-2008-5005","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2008"},"n_packages":16,"n_references":28,"next":{"headline":"Null dereference in n/a","id":"CVE-2008-5006"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap","purl":"pkg:rpm/redhat/imap","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-debuginfo","purl":"pkg:rpm/redhat/imap-debuginfo","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-devel","purl":"pkg:rpm/redhat/imap-devel","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-utils","purl":"pkg:rpm/redhat/imap-utils","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap","purl":"pkg:rpm/redhat/imap","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-debuginfo","purl":"pkg:rpm/redhat/imap-debuginfo","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-devel","purl":"pkg:rpm/redhat/imap-devel","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-utils","purl":"pkg:rpm/redhat/imap-utils","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap","purl":"pkg:rpm/redhat/imap","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-debuginfo","purl":"pkg:rpm/redhat/imap-debuginfo","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-devel","purl":"pkg:rpm/redhat/imap-devel","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-utils","purl":"pkg:rpm/redhat/imap-utils","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap","purl":"pkg:rpm/redhat/imap","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-debuginfo","purl":"pkg:rpm/redhat/imap-debuginfo","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-devel","purl":"pkg:rpm/redhat/imap-devel","source":"RHSA-2009:0275"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2002d-15"],"introduced":["0"],"last_affected":[],"package":"imap-utils","purl":"pkg:rpm/redhat/imap-utils","source":"RHSA-2009:0275"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2008-5004"},"products":["n/a"],"published":"2008-11-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via crafted emails, and local users can gain privileges through command-line arguments in IMAP Toolkit tools.","url":"https://insights.sbomify.com/CVE-2008-5005/"}