{"answers":{"affected":"It affects 8 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2003-0466 exists.","fix":"Apply the vendor's patch.","what":"CVE-2003-0466 is a critical memory corruption vulnerability in Apple Mac Os X, published on 1 Aug 2003. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2003-0466 and fix it if it is affected.\n\nWhat it is: CVE-2003-0466 is a critical memory corruption vulnerability in Apple Mac Os X, published on 1 Aug 2003. 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-2003-0466 exists.\n\nAffected product: Apple Mac Os X. 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-2003-0466/ (Markdown: https://insights.sbomify.com/CVE-2003-0466/index.md)","id":"CVE-2003-0466","markdown":"https://insights.sbomify.com/CVE-2003-0466/index.md","name":"CVE-2003-0466","record":{"aliases":["DSA-357","GHSA-7c4w-gm97-vgqq"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FTP server","requires_auth":"none","summary":"An off-by-one error in the realpath function allows remote attackers to execute arbitrary code via crafted FTP commands.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mac_os_x","vendor":"apple"},{"product":"mac_os_x_server","vendor":"apple"},{"product":"freebsd","vendor":"freebsd"},{"product":"netbsd","vendor":"netbsd"},{"product":"openbsd","vendor":"openbsd"},{"product":"wu_ftpd","vendor":"redhat"},{"product":"solaris","vendor":"sun"},{"product":"wu-ftpd","vendor":"wuftpd"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"}],"description":"Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may allow attackers to execute arbitrary code, as demonstrated in wu-ftpd 2.5.0 through 2.6.2 via commands that cause pathnames of length MAXPATHLEN+1 to trigger a buffer overflow, including (1) STOR, (2) RETR, (3) APPE, (4) DELE, (5) MKD, (6) RMD, (7) STOU, or (8) RNTO.","ecosystems":[],"exploits":{"exploitdb":5,"first_seen":"2003-07-31","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2003-07-31","kind":"exploitdb","ref":"22976","stars":null,"title":"FreeBSD 4.8 - 'realpath()' Off-by-One Buffer Overflow"},{"date":"2003-08-02","kind":"exploitdb","ref":"22974","stars":null,"title":"WU-FTPD 2.6.2 - 'realpath()' Off-by-One Buffer Overflow"},{"date":"2003-08-03","kind":"exploitdb","ref":"74","stars":null,"title":"WU-FTPD 2.6.2 - Off-by-One Remote Command Execution"},{"date":"2003-08-06","kind":"exploitdb","ref":"22975","stars":null,"title":"WU-FTPD 2.6.0/2.6.1/2.6.2 - 'realpath()' Off-by-One Buffer Overflow"},{"date":"2003-08-11","kind":"exploitdb","ref":"78","stars":null,"title":"WU-FTPD 2.6.2 - Remote Command Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2003-0466","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","apple:mac_os_x_server","freebsd:freebsd","netbsd:netbsd","openbsd:openbsd","sun:solaris"],"type":"memory_corruption","year":"2003"},"n_packages":0,"n_references":27,"next":{"headline":"Denial of service in n/a","id":"CVE-2003-0467"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2003-0465"},"products":["n/a"],"published":"2003-08-01","related":[{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-7169","kev_date_added":"2022-01-28","published":"2014-09-25"},{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-6271","kev_date_added":"2022-01-28","published":"2014-09-24"},{"cvss_score":9.8,"headline":"PHP-CGI Query String Parameter","id":"CVE-2012-1823","kev_date_added":"2022-03-25","published":"2012-05-11"},{"cvss_score":7.8,"headline":"Apple macOS Unspecified","id":"CVE-2021-30713","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":7.8,"headline":"Apple macOS Use-After-Free","id":"CVE-2019-8526","kev_date_added":"2023-04-17","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple OS X Authentication Bypass","id":"CVE-2015-1130","kev_date_added":"2022-02-10","published":"2015-04-10"},{"cvss_score":5.5,"headline":"Apple macOS Out-of-Bounds Read","id":"CVE-2022-22674","kev_date_added":"2022-04-04","published":"2022-05-26"}],"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-08","vendors":["n/a"]},"summary":"An off-by-one error in the realpath function allows remote attackers to execute arbitrary code via crafted FTP commands.","url":"https://insights.sbomify.com/CVE-2003-0466/"}