Linux Audit: Buffer overflow

Security Team  Contact Address

Updated July 31, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200807-14 / audit
Release Date July 31, 2008
Latest Revision July 31, 2008: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
sys-process/audit < 1.7.3 >= 1.7.3 All supported architectures

Related bugreports: #215705

Synopsis

A buffer overflow vulnerability in Linux Audit may allow local attackers to execute arbitrary code.

2.  Impact Information

Background

Linux Audit is a set of userspace utilities for storing and processing auditing records.

Description

A stack-based buffer overflow has been reported in the audit_log_user_command() function in the file lib/audit_logging.c when processing overly long arguments.

Impact

A local attacker could execute a specially crafted command on the host running Linux Audit, possibly resulting in the execution of arbitrary code with the privileges of the user running Linux Audit.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Linux Audit users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-process/audit-1.7.3"

4.  References