CVE-2025-58759 (CNNVD-202509-1176)
中文标题:
TinyEnv 输入验证错误漏洞
英文标题:
TinyEnv: Inline comments not stripped properly in .env values
漏洞描述
中文描述:
TinyEnv是Dat Duy个人开发者的一个环境变量加载器。 TinyEnv 1.0.9版本和1.0.10版本存在输入验证错误漏洞,该漏洞源于内联注释处理不当,可能导致配置错误。
英文描述:
TinyEnv is an environment variable loader for PHP applications. In versions 1.0.9 and 1.0.10, TinyEnv did not properly strip inline comments inside .env values. This could lead to unexpected behavior or misconfiguration, where variables contain unintended characters (including # or comment text). Applications depending on strict environment values may expose logic errors, insecure defaults, or failed authentication. The issue is fixed in v1.0.11. Users should upgrade to the latest patched version. As a temporary workaround, avoid using inline comments in .env files, or sanitize loaded values manually.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| datahihi1 | tiny-env | >= 1.0.9, < 1.0.11 | - | - |
cpe:2.3:a:datahihi1:tiny-env:>=_1.0.9,_<_1.0.11:*:*:*:*:*:*:*
|
| datahihi1 | tinyenv | * | - | - |
cpe:2.3:a:datahihi1:tinyenv:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-58759 |
2025-11-11 15:23:30 | 2025-11-11 07:40:46 |
| NVD | nvd_CVE-2025-58759 |
2025-11-11 15:01:02 | 2025-11-11 07:48:32 |
| CNNVD | cnnvd_CNNVD-202509-1176 |
2025-11-11 15:12:56 | 2025-11-11 08:00:09 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 输入验证错误
- cnnvd_id: 未提取 -> CNNVD-202509-1176
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']