Bug 717378 - Backport getaddrinfo workaround
Backport getaddrinfo workaround
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: krb5 (Show other bugs)
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Nalin Dahyabhai
BaseOS QE Security Team
Depends On:
Blocks: 733675
  Show dependency treegraph
Reported: 2011-06-28 13:46 EDT by Simo Sorce
Modified: 2016-01-22 12:07 EST (History)
3 users (show)

See Also:
Fixed In Version: krb5-1.9-13.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 733675 (view as bug list)
Last Closed: 2011-12-06 12:36:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Simo Sorce 2011-06-28 13:46:46 EDT
getaddrinfo() apparently does PTR lookups if anything but AF_UNSPEC is set for the family.
In krb5_snam_to_principal() AF_INET was used and this causes PTR requests to be done even when rdns = false is set in krb5.conf
Moreover checking PTR records yields wrong canonicalization on networks where PTR records are wrong and can't be easily fixed.

This caused issues on a customer network.

Upstream has fixed this issue with ticket #6922
Commit: http://src.mit.edu/fisheye/changelog/krb5/?cs=24977

It would be nice to backport this fix asap.

Upstream bug #6923 is also related, but not critical so backporting can be postponed if considered too risky.
Comment 4 errata-xmlrpc 2011-12-06 12:36:59 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.