heimdal: Properly ix bus fault when zero-length request receivedZero length client requests result in a bus fault when attempting tofree malloc()ed pointers within the requests softc. Return an er
heimdal: Properly ix bus fault when zero-length request receivedZero length client requests result in a bus fault when attempting tofree malloc()ed pointers within the requests softc. Return an errorwhen the request is zero length.This properly fixes PR/268062 without regressions.PR: 268062Reported by: Robert Morris <rtm@lcs.mit.edu>MFC after: 3 days
show more ...
heimdal: Add additional checks for bad kadmind inputCheck return codes for bad input.MFC after: 3 days
heimdal: Add missing kadmind error checksInspired by: Heimdal commmit 1b213c1082be4ef5a1c23928d614c762f837dbe7MFC after: 3 days
heimdal: Fix NULL dereference when mangled realm messageFix a NULL dereference in _kadm5_s_init_context() when the clientsends a mangled realm message.PR: 267912Reported by: Robert Morris <rtm
heimdal: Fix NULL dereference when mangled realm messageFix a NULL dereference in _kadm5_s_init_context() when the clientsends a mangled realm message.PR: 267912Reported by: Robert Morris <rtm@lcs.mit.edu>MFC after: 3 days
heimdal: Fix multiple security vulnerabilitiesThe following issues are patched: - CVE-2022-42898 PAC parse integer overflows - CVE-2022-3437 Overflows and non-constant time leaks in DES{,3} and
heimdal: Fix multiple security vulnerabilitiesThe following issues are patched: - CVE-2022-42898 PAC parse integer overflows - CVE-2022-3437 Overflows and non-constant time leaks in DES{,3} and arcfour - CVE-2021-44758 NULL dereference DoS in SPNEGO acceptors - CVE-2022-44640 Heimdal KDC: invalid free in ASN.1 codec Note that CVE-2022-44640 is a severe vulnerability, possibly a 10.0 on the Common Vulnerability Scoring System (CVSS) v3, as we believe it should be possible to get an RCE on a KDC, which means that credentials can be compromised that can be used to impersonate anyone in a realm or forest of realms. Heimdal's ASN.1 compiler generates code that allows specially crafted DER encodings of CHOICEs to invoke the wrong free function on the decoded structure upon decode error. This is known to impact the Heimdal KDC, leading to an invalid free() of an address partly or wholly under the control of the attacker, in turn leading to a potential remote code execution (RCE) vulnerability. This error affects the DER codec for all extensible CHOICE types used in Heimdal, though not all cases will be exploitable. We have not completed a thorough analysis of all the Heimdal components affected, thus the Kerberos client, the X.509 library, and other parts, may be affected as well. This bug has been in Heimdal's ASN.1 compiler since 2005, but it may only affect Heimdal 1.6 and up. It was first reported by Douglas Bagnall, though it had been found independently by the Heimdal maintainers via fuzzing a few weeks earlier. While no zero-day exploit is known, such an exploit will likely be available soon after public disclosure. - CVE-2019-14870: Validate client attributes in protocol-transition - CVE-2019-14870: Apply forwardable policy in protocol-transition - CVE-2019-14870: Always lookup impersonate client in DBSponsored by: so (philip)Obtained from: so (philip)Tested by: philip, cyMFC after: immediately
- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for
- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509.- The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5.- Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf.- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next.- Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well.- This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
Fix conflicts after heimdal-1.1 import and add build infrastructure. Importall non-style changes made by heimdal to our own libgssapi.
This commit was generated by cvs2svn to compensate for changes in r178825,which included commits to RCS files with non-trunk default branches.
Vendor import of Heimdal 1.1
Vendor import of Heimdal 0.6.3.
This commit was generated by cvs2svn to compensate for changes in r142403,which included commits to RCS files with non-trunk default branches.
Clean up the Heimdal vendor branch by removing files not included inany import for several years.If memory serves, this wasSuggested by: ruan awfully long time ago-- sorry for the delay!
Resolve conflicts after import of Heimdal 0.6.1.
Vendor import of Heimdal 0.6.1.
This commit was generated by cvs2svn to compensate for changes in r127808,which included commits to RCS files with non-trunk default branches.
Vendor import of Heimdal 0.6.
This commit was generated by cvs2svn to compensate for changes in r120945,which included commits to RCS files with non-trunk default branches.
Import of Heimdal 0.5.1.Approved by: re
This commit was generated by cvs2svn to compensate for changes in r107207,which included commits to RCS files with non-trunk default branches.
import 1.27 to fix buffer overflow:check size of rlenObtained from: Heimdal CVS
This commit was generated by cvs2svn to compensate for changes in r105672,which included commits to RCS files with non-trunk default branches.
Resolve conflicts.
Import of Heimdal Kerberos from KTH repository circa 2002/09/16.
This commit was generated by cvs2svn to compensate for changes in r103423,which included commits to RCS files with non-trunk default branches.
Pass the pointy hat! Remove accidently imported files.
12