Race condition in Linux kernel



| Updated: 2024-08-07
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2004-1235
CWE-ID CWE-362
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Race condition

EUVDB-ID: #VU95474

Risk: Low

CVSSv4.0: 6.4 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: CVE-2004-1235

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: Yes

Description

The vulnerability allows a local user to execute arbitrary code.

Race condition in the (1) load_elf_library and (2) binfmt_aout function calls for uselib in Linux kernel 2.4 through 2.429-rc2 and 2.6 through 2.6.10 allows local users to execute arbitrary code by manipulating the VMA descriptor.

Mitigation

Install update from vendor's repository.

Vulnerable software versions

Linux kernel: All versions

CPE2.3 External links

https://distro.conectiva.com.br/atualizacoes/index.php?id=a&anuncio=000930
https://isec.pl/vulnerabilities/isec-0021-uselib.txt
https://marc.info/?l=bugtraq&m=110512575901427&w=2
https://secunia.com/advisories/20162
https://secunia.com/advisories/20163
https://secunia.com/advisories/20202
https://secunia.com/advisories/20338
https://www.debian.org/security/2006/dsa-1067
https://www.debian.org/security/2006/dsa-1069
https://www.debian.org/security/2006/dsa-1070
https://www.debian.org/security/2006/dsa-1082
https://www.mandriva.com/security/advisories?name=MDKSA-2005:022
https://www.novell.com/linux/security/advisories/2005_01_sr.html
https://www.redhat.com/support/errata/RHSA-2005-016.html
https://www.redhat.com/support/errata/RHSA-2005-017.html
https://www.redhat.com/support/errata/RHSA-2005-043.html
https://www.redhat.com/support/errata/RHSA-2005-092.html
https://www.securityfocus.com/advisories/7804
https://www.securityfocus.com/advisories/7805
https://www.securityfocus.com/advisories/7806
https://www.securityfocus.com/bid/12190
https://www.trustix.org/errata/2005/0001/
https://bugzilla.fedora.us/show_bug.cgi?id=2336
https://exchange.xforce.ibmcloud.com/vulnerabilities/18800
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9567


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###