Name | CVE-2011-0285 |
Description | The process_chpw_request function in schpw.c in the password-changing functionality in kadmind in MIT Kerberos 5 (aka krb5) 1.7 through 1.9 frees an invalid pointer, which allows remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via a crafted request that triggers an error condition. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 622681 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
krb5 (PTS) | jessie, jessie (lts) | 1.12.1+dfsg-19+deb8u9 | fixed |
| stretch (security) | 1.15-1+deb9u3 | fixed |
| stretch (lts), stretch | 1.15-1+deb9u6 | fixed |
| buster, buster (lts) | 1.17-3+deb10u7 | fixed |
| buster (security) | 1.17-3+deb10u6 | fixed |
| bullseye (security), bullseye | 1.18.3-6+deb11u5 | fixed |
| bookworm (security), bookworm | 1.20.1-2+deb12u2 | fixed |
| sid, trixie | 1.21.3-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
krb5 | source | lenny | (not affected) | | | |
krb5 | source | squeeze | 1.8.3+dfsg-4squeeze1 | | | |
krb5 | source | (unstable) | 1.9.1+dfsg-1 | | | 622681 |
Notes
[lenny] - krb5 <not-affected> (see below)
1.6 is not affected: While the error case in the process_chpw_request()
in kadmind in 1.6 can leave the data pointer uninitialized, the error
path in its caller will not free() that pointer (the invalid pointer
goes out of scope without being freed), unlike in krb5-1.7 and later.
Those later releases add support for password changing over TCP, and
the error path in the TCP handling code is what frees the
uninitialized pointer. (Clarification by Tom Yu)