{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-2040 exists.","fix":"Apply the vendor's patch.","what":"CVE-2008-2040 is a high-severity memory corruption vulnerability in n/a, published on 30 Apr 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-2040 and fix it if it is affected.\n\nWhat it is: CVE-2008-2040 is a high-severity memory corruption vulnerability in n/a, published on 30 Apr 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-2040 exists.\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-2040/ (Markdown: https://insights.sbomify.com/CVE-2008-2040/index.md)","id":"CVE-2008-2040","markdown":"https://insights.sbomify.com/CVE-2008-2040/index.md","name":"CVE-2008-2040","record":{"aliases":["DSA-1582-1","GHSA-98qj-hw8j-wp56"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Peercast streaming server","requires_auth":"none","summary":"Remote attackers can cause a crash or execute arbitrary code via a stack-based buffer overflow in the HTTP authentication handler.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"peercast","vendor":"peercast"}],"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-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Stack-based buffer overflow in the HTTP::getAuthUserPass function (core/common/http.cpp) in Peercast 0.1218 and gnome-peercast allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a Basic Authentication string with a long (1) username or (2) password.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2008-04-29","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2008-04-29","kind":"exploitdb","ref":"31713","stars":null,"title":"PeerCast 0.1218 - 'getAuthUserPass' Multiple Buffer Overflow Vulnerabilities"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2008-2040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2008"},"n_packages":0,"n_references":14,"next":{"headline":"Code injection in n/a","id":"CVE-2008-2041"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2008-2039"},"products":["n/a"],"published":"2008-04-30","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-6454","kev_date_added":null,"published":"2007-12-20"},{"cvss_score":7.8,"headline":"Information disclosure in n/a","id":"CVE-2007-3087","kev_date_added":null,"published":"2007-06-06"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2006-1148","kev_date_added":null,"published":"2006-03-10"},{"cvss_score":7.5,"headline":"Other in n/a","id":"CVE-2005-1806","kev_date_added":null,"published":"2005-06-01"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can cause a crash or execute arbitrary code via a stack-based buffer overflow in the HTTP authentication handler.","url":"https://insights.sbomify.com/CVE-2008-2040/"}