{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-42898 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-42898 is a high-severity vulnerability in Mit Kerberos 5, published on 25 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-42898 and fix it if it is affected.\n\nWhat it is: CVE-2022-42898 is a high-severity vulnerability in Mit Kerberos 5, published on 25 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-42898 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-2022-42898/ (Markdown: https://insights.sbomify.com/CVE-2022-42898/index.md)","id":"CVE-2022-42898","markdown":"https://insights.sbomify.com/CVE-2022-42898/index.md","name":"CVE-2022-42898","record":{"aliases":["ALPINE-CVE-2022-42898","ALSA-2022:8637","ALSA-2022:8638","AZL-12123","AZL-12133","AZL-37017","CLEANSTART-2024-AC14298","CLSA-2022-1670873922","CLSA-2022-1670874026","CLSA-2022-1670874138","CLSA-2022-1670874451","CLSA-2023-1673905845","CLSA-2023-1674203970","CLSA-2025-1762337525","DEBIAN-CVE-2022-42898","DLA-3213-1","DSA-5286-1","ECHO-ef27-1be4-276e","GHSA-64mq-fvfj-5x3c","JLSEC-2026-91","MGASA-2022-0467","OESA-2022-2121","RHEA-2023:3850","RHSA-2022:8637","RHSA-2022:8638","RHSA-2022:8639","RHSA-2022:8640","RHSA-2022:8641","RHSA-2022:8648","RHSA-2022:8662","RHSA-2022:8663","RHSA-2022:8669","RHSA-2022:9029","RLSA-2022:8637","RLSA-2022:8638","SUSE-SU-2022:4153-1","SUSE-SU-2022:4155-1","SUSE-SU-2022:4167-1","SUSE-SU-2022:4335-1","SUSE-SU-2023:0198-1","UBUNTU-CVE-2022-42898","openSUSE-SU-2024:12524-1","openSUSE-SU-2024:12525-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kerberos authentication","requires_auth":"low_privilege","summary":"Integer overflow in MIT Kerberos PAC parsing allows remote code execution on 32-bit systems and denial of service on others.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"heimdal","vendor":"heimdal_project"},{"product":"kerberos_5","vendor":"mit"},{"product":"samba","vendor":"samba"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"PAC parsing in MIT Kerberos 5 (aka krb5) before 1.19.4 and 1.20.x before 1.20.1 has integer overflows that may lead to remote code execution (in KDC, kadmind, or a GSS or Kerberos application server) on 32-bit platforms (which have a resultant heap-based buffer overflow), and cause a denial of service on other platforms. This occurs in krb5_pac_parse in lib/krb5/krb/pac.c. Heimdal before 7.7.1 has \"a similar bug.\"","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_e4s:8.2::baseos","Red Hat:rhel_els:6","Red Hat:rhel_eus:8.4::baseos","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.0::baseos","Red Hat:rhel_tus:8.2::baseos","Red Hat:rhev_hypervisor:4.4::el8","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP3","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Proxy 4.2","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Retail Branch Server 4.2","SUSE:Manager Server 4.1","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Leap Micro 5.3","openSUSE:Tumbleweed"],"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":"Integer overflow in n/a","id":"CVE-2022-42898","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mit:kerberos_5","products":["mit:kerberos_5","samba:samba"],"type":"integer_overflow","year":"2022"},"n_packages":276,"n_references":11,"next":{"headline":"Memory corruption in n/a","id":"CVE-2022-42899"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/almalinux/krb5-devel","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/almalinux/krb5-libs","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit","purl":"pkg:rpm/almalinux/krb5-pkinit","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/almalinux/krb5-server","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/almalinux/krb5-server-ldap","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/almalinux/krb5-workstation","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.2-22.el8_7"],"introduced":["0"],"last_affected":[],"package":"libkadm5","purl":"pkg:rpm/almalinux/libkadm5","source":"ALSA-2022:8638"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/almalinux/krb5-devel","source":"ALSA-2022:8637"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/almalinux/krb5-libs","source":"ALSA-2022:8637"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit","purl":"pkg:rpm/almalinux/krb5-pkinit","source":"ALSA-2022:8637"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/almalinux/krb5-server","source":"ALSA-2022:8637"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/almalinux/krb5-server-ldap","source":"ALSA-2022:8637"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/almalinux/krb5-workstation","source":"ALSA-2022:8637"},{"ecosystem":"AlmaLinux:9","fixed":["1.19.1-24.el9_1"],"introduced":["0"],"last_affected":[],"package":"libkadm5","purl":"pkg:rpm/almalinux/libkadm5","source":"ALSA-2022:8637"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit","purl":"pkg:rpm/redhat/krb5-pkinit","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/redhat/krb5-server-ldap","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"libkadm5","purl":"pkg:rpm/redhat/libkadm5","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/redhat/krb5-server-ldap","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-pkinit","purl":"pkg:rpm/redhat/krb5-pkinit","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-server","purl":"pkg:rpm/redhat/krb5-server","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-server-ldap","purl":"pkg:rpm/redhat/krb5-server-ldap","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-workstation","purl":"pkg:rpm/redhat/krb5-workstation","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"libkadm5","purl":"pkg:rpm/redhat/libkadm5","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5","purl":"pkg:rpm/redhat/krb5","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-debuginfo","purl":"pkg:rpm/redhat/krb5-debuginfo","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-devel","purl":"pkg:rpm/redhat/krb5-devel","source":"RHSA-2022:8640"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.15.1-55.el7_9"],"introduced":["0"],"last_affected":[],"package":"krb5-libs","purl":"pkg:rpm/redhat/krb5-libs","source":"RHSA-2022:8640"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2022-42897"},"products":["n/a"],"published":"2022-12-25","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2022-44640","kev_date_added":null,"published":"2022-12-25"},{"cvss_score":7.5,"headline":"Null dereference in Heimdal Software Kerberos","id":"CVE-2022-3116","kev_date_added":null,"published":"2023-03-27"},{"cvss_score":7.5,"headline":"Security feature bypass in Samba","id":"CVE-2022-45142","kev_date_added":null,"published":"2023-03-06"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2021-44758","kev_date_added":null,"published":"2022-12-26"},{"cvss_score":7.5,"headline":"Auth bypass in samba","id":"CVE-2018-16860","kev_date_added":null,"published":"2019-07-31"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2017-6594","kev_date_added":null,"published":"2017-08-28"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Integer overflow in MIT Kerberos PAC parsing allows remote code execution on 32-bit systems and denial of service on others.","url":"https://insights.sbomify.com/CVE-2022-42898/"}