Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Red Hat: RHSA-2016-0532-01 Moderate: krb5 Memory Leak and DoS Issue

red hat
Calendar Grey April 1, 2016
Scroller Redhat
An important krb5 security patch for Red Hat Enterprise Linux 7 mitigates issues regarding memory leaks and potential denial of service vulnerabilities.
An update for krb5 is now available for Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

After installing the updated packages, running Kerberos services (krb5kdc, kadmin, and kprop) will be restarted automatically.

Summary

Kerberos is a network authentication system, which can improve the security of your network by eliminating the insecure practice of sending passwords over the network in unencrypted form. It allows clients and servers to authenticate to each other with the help of a trusted third party, the Kerberos key distribution center (KDC).
Security Fix(es):
* A memory leak flaw was found in the krb5_unparse_name() function of the MIT Kerberos kadmind service. An authenticated attacker could repeatedly send specially crafted requests to the server, which could cause the server to consume large amounts of memory resources, ultimately leading to a denial of service due to memory exhaustion. (CVE-2015-8631)
* An out-of-bounds read flaw was found in the kadmind service of MIT Kerberos. An authenticated attacker could send a maliciously crafted message to force kadmind to read beyond the end of allocated memory, and write the memory contents to the KDC database if the attacker has write permission, leading to information disclosure. (CVE-2015-8629)
* A NULL pointer dereference flaw was found in the procedure used by the MIT Kerberos kadmind service to store policies: the kadm5_create_principal_3() and kadm5_modify_principal() function did not ensure that a policy was given when KADM5_POLICY was set. An authenticated attacker with permissions to modify the database could use this flaw to add or modify a principal with a policy set to NULL, causing the kadmind service to crash. (CVE-2015-8630)
The CVE-2015-8631 issue was discovered by Simo Sorce of Red Hat.

References

https://access.redhat.com/security/cve/CVE-2015-8629 https://access.redhat.com/security/cve/CVE-2015-8630 https://access.redhat.com/security/cve/CVE-2015-8631 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: krb5-1.13.2-12.el7_2.src.rpm
x86_64: krb5-debuginfo-1.13.2-12.el7_2.i686.rpm krb5-debuginfo-1.13.2-12.el7_2.x86_64.rpm krb5-libs-1.13.2-12.el7_2.i686.rpm krb5-libs-1.13.2-12.el7_2.x86_64.rpm krb5-pkinit-1.13.2-12.el7_2.x86_64.rpm krb5-workstation-1.13.2-12.el7_2.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64: krb5-debuginfo-1.13.2-12.el7_2.i686.rpm krb5-debuginfo-1.13.2-12.el7_2.x86_64.rpm krb5-devel-1.13.2-12.el7_2.i686.rpm krb5-devel-1.13.2-12.el7_2.x86_64.rpm krb5-server-1.13.2-12.el7_2.x86_64.rpm krb5-server-ldap-1.13.2-12.el7_2.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: krb5-1.13.2-12.el7_2.src.rpm
x86_64: krb5-debuginfo-1.13.2-12.el7_2.i686.rpm krb5-debuginfo-1.13.2-12.el7_2.x86_64.rpm krb5-libs-1.13.2-12.el7_2.i686.rpm krb5-libs-1.13.2-12.el7_2.x86_64.rpm krb5-pkinit-1.13.2-12.el7_2.x86_64.rpm krb5-workstation-1.13.2-12.el7_2.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
x86_64: krb5-debuginfo-1.13.2-12.el7_2.i686.rpm krb5-debuginfo-1.13.2-12.el7_2.x86_64.rpm krb5-devel-1.13.2-12.el7_2.i686.rpm krb5-devel-1.13.2-12.el7_2.x86_64.rpm krb5-server-1.13.2-12.el7_2.x86_64.rpm krb5-server-ldap-1.13.2-12.el7_2.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:

Read the Full Advisory


Advisory ID: RHSA-2016:0532-01
Product: Red Hat Enterprise Linux
Issue date: 2016-03-31

Topic

An update for krb5 is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Bugs Fixed

1302617 - CVE-2015-8629 krb5: xdr_nullstring() doesn't check for terminating null character

1302632 - CVE-2015-8630 krb5: krb5 doesn't check for null policy when KADM5_POLICY is set in the mask

1302642 - CVE-2015-8631 krb5: Memory leak caused by supplying a null principal name in request

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.