CVE-2002-0499 (CNNVD-200208-193)
LOW
有利用代码
中文标题:
Linux内核函数d_path()路径截断漏洞
英文标题:
The d_path function in Linux kernel 2.2.20 and earlier, and 2.4.18 and earlier, truncates long pathn...
CVSS分数:
2.1
发布时间:
2002-06-11 04:00:00
漏洞类型:
其他
状态:
PUBLISHED
数据质量分数:
0.40
数据版本:
v4
漏洞描述
中文描述:
Linux内核函数d_path()根据dentry结构生成一个ASCII形式的绝对路径。 问题在于生成的绝对路径被存放在一个固定长度(PAGE_SIZE)的缓冲区中。如果dentry结构对应的路径长度超过(PAGE_SIZE - 1),d_path()先截断路径后保存之,但没有报告这个错误。 getcwd(2)、readlink(2)等系统调用使用到d_path()函数,这会导致返回的绝对路径不是你所期望的那个,带来潜在的安全问题。
英文描述:
The d_path function in Linux kernel 2.2.20 and earlier, and 2.4.18 and earlier, truncates long pathnames without generating an error, which could allow local users to force programs to perform inappropriate operations on the wrong directories.
CWE类型:
(暂无数据)
标签:
local
linux
cliph
OSVDB-9586
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| linux | linux_kernel | 2.2.0 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.0:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.1 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.1:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.2 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.2:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.3 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.3:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.4 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.4:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.5 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.5:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.6 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.6:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.7 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.7:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.8 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.8:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.9 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.9:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.10 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.10:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.11 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.11:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.12 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.12:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.13 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.13:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.14 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.14:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.15 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.15:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.16 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.16:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.17 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.17:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.18 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.18:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.19 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.19:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.20 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.20:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.3.0 | - | - |
cpe:2.3:o:linux:linux_kernel:2.3.0:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.3.99 | - | - |
cpe:2.3:o:linux:linux_kernel:2.3.99:*:*:*:*:*:*:*
|
| 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:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
20020326 [VulnWatch] d_path() truncating excessive long path name vulnerability
mailing-list
cve.org
访问
cve.org
linux-dpath-truncate-path(8634)
vdb-entry
cve.org
访问
cve.org
4367
vdb-entry
cve.org
访问
cve.org
无标题
x_refsource_MISC
cve.org
访问
cve.org
20020326 d_path() truncating excessive long path name vulnerability
mailing-list
cve.org
访问
cve.org
ExploitDB EDB-21353
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-21353
EXPLOIT
exploitdb
访问
exploitdb
CVE Reference: CVE-2002-0499
ADVISORY
cve.org
访问
cve.org
CVSS评分详情
2.1
LOW
CVSS向量:
AV:L/AC:L/Au:N/C:N/I:P/A:N
CVSS版本:
2.0
机密性
NONE
完整性
PARTIAL
可用性
NONE
时间信息
发布时间:
2002-06-11 04:00:00
修改时间:
2024-08-08 02:49:28
创建时间:
2025-11-11 15:32:16
更新时间:
2026-01-26 02:16:43
利用信息
此漏洞有可利用代码!
利用代码数量:
1
利用来源:
未知
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2002-0499 |
2025-11-11 15:17:23 | 2025-11-11 07:32:16 |
| NVD | nvd_CVE-2002-0499 |
2025-11-11 14:50:27 | 2025-11-11 07:41:02 |
| CNNVD | cnnvd_CNNVD-200208-193 |
2025-11-11 15:08:40 | 2025-11-11 07:48:48 |
| EXPLOITDB | exploitdb_EDB-21353 |
2025-11-11 15:05:25 | 2025-11-11 08:16:15 |
版本与语言
当前版本:
v4
主要语言:
EN
支持语言:
EN
ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4
EXPLOITDB
2025-11-11 16:16:15
references_count: 5 → 8; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- references_count: 5 -> 8
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3
CNNVD
2025-11-11 15:48:48
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-200208-193; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-200208-193
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2
NVD
2025-11-11 15:41:02
severity: SeverityLevel.MEDIUM → SeverityLevel.LOW; cvss_score: 未提取 → 2.1; cvss_vector: NOT_EXTRACTED → AV:L/AC:L/Au:N/C:N/I:P/A:N; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 42; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.LOW
- cvss_score: 未提取 -> 2.1
- cvss_vector: NOT_EXTRACTED -> AV:L/AC:L/Au:N/C:N/I:P/A:N
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 42
- data_sources: ['cve'] -> ['cve', 'nvd']