CVE-2003-0462 (CNNVD-200308-176)
中文标题:
Linux 2.4内核execve()系统调用竞争条件洞
英文标题:
A race condition in the way env_start and env_end pointers are initialized in the execve system call...
漏洞描述
中文描述:
Linux是开放源代码的操作系统。 Linux execve()系统调用存在竞争条件漏洞,本地攻击者可以利用这个漏洞读取某个本无权读取的SUID程序的内容。 execve()函数存在如下代码(fs/binfmt_elf.c): static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) { struct file *interpreter = NULL; /* to shut gcc up */ [...] retval = kernel_read(bprm->file, elf_ex.e_phoff, (char *) elf_phdata, size); if (retval < 0) goto out_free_ph; retval = get_unused_fd(); if (retval < 0) goto out_free_ph; get_file(bprm->file); fd_install(elf_exec_fileno = retval, bprm->file); 在执行新的二进制程序中,把打开的可执行文件描述符放到当前进程(当前execve()调用者)文件表中,并执行。这可以通过系统clone系统调用在父子进程间创建共享文件描述符然后读取该文件描述符。这允许攻击者读取suid程序的内容(即使攻击者本无权读取)。攻击者也有可能利用这一漏洞以特权状态下执行任意代码,但目前尚未经证实。
英文描述:
A race condition in the way env_start and env_end pointers are initialized in the execve system call and used in fs/proc/base.c on Linux 2.4 allows local users to cause a denial of service (crash).
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| mandrakesoft | mandrake_multi_network_firewall | 8.2 | - | - |
cpe:2.3:a:mandrakesoft:mandrake_multi_network_firewall:8.2:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.0 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.0:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.1 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.1:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.2 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.2:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.3 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.3:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.4 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.4:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.5 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.5:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.6 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.6:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.7 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.7:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.8 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.8:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.9 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.9:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.10 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.10:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.11 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.11:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.12 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.12:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.13 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.13:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.14 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.14:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.15 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.15:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.16 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.16:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.17 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.17:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.18 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.18:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.19 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.19:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.20 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.20:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.21 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.21:*:*:*:*:*:*:*
|
| mandrakesoft | mandrake_linux | 8.2 | - | - |
cpe:2.3:o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:*
|
| mandrakesoft | mandrake_linux | 9.0 | - | - |
cpe:2.3:o:mandrakesoft:mandrake_linux:9.0:*:*:*:*:*:*:*
|
| mandrakesoft | mandrake_linux_corporate_server | 2.1 | - | - |
cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server:2.1:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
exploitdb
exploitdb
cve.org
CVSS评分详情
AV:L/AC:H/Au:N/C:N/I:N/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2003-0462 |
2025-11-11 15:17:27 | 2025-11-11 07:32:19 |
| NVD | nvd_CVE-2003-0462 |
2025-11-11 14:50:37 | 2025-11-11 07:41:05 |
| CNNVD | cnnvd_CNNVD-200308-176 |
2025-11-11 15:08:42 | 2025-11-11 07:48:51 |
| EXPLOITDB | exploitdb_EDB-22840 |
2025-11-11 15:05:25 | 2025-11-11 08:18:10 |
版本与语言
安全公告
变更历史
查看详细变更
- references_count: 6 -> 9
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200308-176
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.LOW
- cvss_score: 未提取 -> 1.2
- cvss_vector: NOT_EXTRACTED -> AV:L/AC:H/Au:N/C:N/I:N/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 26
- data_sources: ['cve'] -> ['cve', 'nvd']