Bug 803349 - allocate extra space for node names
Summary: allocate extra space for node names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: audit
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Steve Grubb
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-14 13:54 UTC by Ondrej Moriš
Modified: 2012-11-05 15:44 UTC (History)
1 user (show)

Fixed In Version: audit-2.2-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 14:29:31 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0929 0 normal SHIPPED_LIVE audit bug fix and enhancement update 2012-06-19 20:46:00 UTC

Description Ondrej Moriš 2012-03-14 13:54:56 UTC
Description of problem:

When a node name is a part of audit message and its length is bigger than usually (~80 characters) then auparse fails to parse the rest of message. This can lead even to 'hidden' audit events.

Version-Release number of selected component (if applicable):

audit-2.1.3-3.el6

How reproducible:

100%

Steps to Reproduce:

# cat >log<<-EOF
node=1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 type=DAEMON_ACCEPT msg=audit(1320238076.308:8675): addr=10.16.66.107:52363 port=52363 res=success
EOF

# ausearch -if log
  
Actual results:

<no matches>

Expected results:

----
time->Wed Dec 31 22:40:02 1969
node=1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 type=DAEMON_ACCEPT msg=audit(1320238076.308:8675): addr=10.16.66.107:52363 port=52363 res=success

Additional info:

This problem has been originally reported as [1] and immediately resolved with [2] raising node name limit from ~80 to ~340 characters.

[1] https://www.redhat.com/archives/linux-audit/2012-March/msg00005.html
[2] https://fedorahosted.org/audit/changeset/671

Comment 2 Steve Grubb 2012-03-14 20:36:26 UTC
audit-2.2-2.el6 was built to fix this issue.

Comment 5 errata-xmlrpc 2012-06-20 14:29:31 UTC
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.

http://rhn.redhat.com/errata/RHBA-2012-0929.html


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