{"vuid":"VU#698640","idnumber":"698640","name":"Linux kernel does not properly validate user input via sysctl for negative value","keywords":["Linux","kernel","sysctl","signed"],"overview":"Unprivileged local users can exploit the sysctl Linux kernel program to gain privileged access.","clean_desc":"A program called sysctl in the Linux kernel allows a privileged local user to read or write runtime system settings. Unprivileged local users are also allowed to use sysctl to read many of these settings. The program takes as parameters a buffer location and length. The length parameter is declared as signed and, therefore, allows passing of negative values. According to Chris Evans, the discoverer of this vulnerability, \"by specifying a negative buffer length, a user can read pretty arbitrary memory.\"  This flaw allows attackers to read privileged Linux kernel memory and, ultimately, gain root access. Linux kernel version 2.2.18 or before are vulnerable to this flaw. Any Linux product that is dependent on this kernel is, therefore, vulnerable.","impact":"Unprivileged local users can read privileged kernel space addresses and, potentially, gain privileged (root) access.","resolution":"Upgrade the Linux kernel to version 2.2.19 or later. The release notes for Linux 2.2.19 at http://www.linux.org.uk/VERSION/relnotes.2219.html describe the security fix. For users of specific Linux vendors, use the vendor-specific upgrades for convenience and consistency.","workarounds":"","sysaffected":"","thanks":"Thanks to Chris Evans for discovering this vulnerability.","author":"This document was written by Andrew P. Moore.","public":["http://www.securityfocus.com/archive/59/162008","http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0316","http://www.securityfocus.com/bid/2364","http://www.redhat.com/support/errata/RHSA-2001-013.html","http://www.redhat.com/support/errata/RHSA-2001-047.html","http://www.ciac.org/ciac/bulletins/l-045.shtml","http://www.caldera.com/support/security/advisories/CSSA-2001-009.0.txt","http://www.debian.org/security/2001/dsa-047","http://www.linux.org.uk/VERSION/relnotes.2219.html","http://www.linux-mandrake.com/en/updates/2001/MDKSA-2001-037.php3?dis=7.0","http://download.immunix.org/ImmunixOS/7.0-beta/updates/IMNX-2001-70-002-01","http://www.securityfocus.com/archive/1/161568","http://www.securityfocus.com/archive/1/185199","http://archives.neohapsis.com/archives/bugtraq/2001-02/0267.html","http://distro.conectiva.com/atualizacoes/?id=a&anuncio=000394"],"cveids":["CVE-2001-0316"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2001-02-15T19:28:58Z","publicdate":"2001-02-08T00:00:00Z","datefirstpublished":"2001-07-18T19:07:20Z","dateupdated":"2001-07-24T17:23:30Z","revision":22,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"20","cam_exploitation":"0","cam_internetinfrastructure":"3","cam_population":"15","cam_impact":"19","cam_easeofexploitation":"15","cam_attackeraccessrequired":"5","cam_scorecurrent":"9.21796875","cam_scorecurrentwidelyknown":"9.21796875","cam_scorecurrentwidelyknownexploited":"17.23359375","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":9.21796875,"vulnote":null}