{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2004-1189 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2004-1189 is a high-severity memory corruption vulnerability in Mit Kerberos 5, published on 31 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-1189 and fix it if it is affected.\n\nWhat it is: CVE-2004-1189 is a high-severity memory corruption vulnerability in Mit Kerberos 5, published on 31 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-1189 in the wild and no public exploit code.\n\nAffected product: Mit Kerberos 5. 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-1189/ (Markdown: https://insights.sbomify.com/CVE-2004-1189/index.md)","id":"CVE-2004-1189","markdown":"https://insights.sbomify.com/CVE-2004-1189/index.md","name":"CVE-2004-1189","record":{"aliases":["DEBIAN-CVE-2004-1189","DSA-629-1","GHSA-jq9g-4vpq-449j","RHSA-2005:045"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MIT Kerberos server","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary code via a heap-based buffer overflow in the MIT Kerberos password change function.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"kerberos_5","vendor":"mit"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, does not properly track the password policy's history count and the maximum number of keys, which can cause an array index out-of-bounds error and may allow authenticated users to execute arbitrary code via a heap-based buffer overflow.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::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-2004-1189","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mit:kerberos_5","products":["mit:kerberos_5"],"type":"memory_corruption","year":"2004"},"n_packages":24,"n_references":12,"next":{"headline":"Missing authorization in n/a","id":"CVE-2004-1190"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2005:045"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.3.4-10"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2005:045"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-1188"},"products":["n/a"],"published":"2004-12-31","related":[{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2011-0285","kev_date_added":null,"published":"2011-04-15"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-0947","kev_date_added":null,"published":"2008-03-19"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2007-5902","kev_date_added":null,"published":"2007-12-06"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-4743","kev_date_added":null,"published":"2007-09-06"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-3999","kev_date_added":null,"published":"2007-09-05"},{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2000-0514","kev_date_added":null,"published":"2000-10-13"},{"cvss_score":9.8,"headline":"Memory corruption in krb5 1.5","id":"CVE-2017-15088","kev_date_added":null,"published":"2017-11-23"}],"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-08","vendors":["n/a"]},"summary":"Authenticated users can execute arbitrary code via a heap-based buffer overflow in the MIT Kerberos password change function.","url":"https://insights.sbomify.com/CVE-2004-1189/"}