{"id":"ALPINE-CVE-2022-42898","details":"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.\"","modified":"2026-08-27T22:18:02.048666636Z","published":"2022-12-25T06:15:09.427Z","upstream":["CVE-2022-42898"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-42898"}],"affected":[{"package":{"name":"heimdal","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"heimdal","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"krb5","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/krb5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.15.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.15.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.16.0"},{"fixed":"4.16.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-42898.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}