#
# (C) Tenable Network Security
#
#

if ( ! defined_func("bn_random") ) exit(0);
if(description)
{
 script_id(12511);
 script_version ("$Revision: 1.1 $");
 script_bugtraq_id(10662);
 script_cve_id("CAN-2004-0497");
 name["english"] = "RHSA-2004-360: Linux Kernel";
 
 script_name(english:name["english"]);
 
 desc["english"] = "
The remote host has an old version of the Linux Kernel package installed
(older than kernel-2.4.21-15.0.3).

The remote Linux Kernel, which handles the basic functions of the operating 
system contains a security issue which may allow a user to make unauthorized
changes to the group id of some files.

On Red Hat Enterprise Linux systems, this vulnerability may only be exploited
through NFS.

Solution : https://rhn.redhat.com/errata/RHSA-2004-360.html
Risk Factor : High";


 script_description(english:desc["english"]);
 
 summary["english"] = "Check for the version of the kernel package";
 script_summary(english:summary["english"]);
 
 script_category(ACT_GATHER_INFO);
 
 script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
 family["english"] = "Red Hat Local Security Checks";
 script_family(english:family["english"]);
 
 script_dependencies("ssh_get_info.nasl");
 script_require_keys("Host/RedHat/rpm-list");
 exit(0);
}



include("rpm.inc");

if ( rpm_check(prefix:"kernel-", reference:"kernel-2.4.21-15.0.3.EL", yank:".EL", release:"RHEL3") )
	security_hole(0);

