CWE-379 在具有不安全权限的目录中创建临时文件 类弱点 47 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-379属于临时文件权限配置不当漏洞。当程序在权限过宽的目录中创建临时文件时,未授权用户可探测文件存在并推断应用身份,进而可能利用竞争条件或符号链接进行攻击。开发者应确保临时目录权限严格受限,仅允许目标进程访问,或使用原子操作创建文件,避免暴露敏感信息或引发权限提升风险。
FILE *stream; if( (stream = tmpfile()) == NULL ) { perror("Could not open new temporary file\n"); return (-1); } // write data to tmp file ... // remove tmp file rmtmp();try { File temp = File.createTempFile("pattern", ".suffix"); temp.deleteOnExit(); BufferedWriter out = new BufferedWriter(new FileWriter(temp)); out.write("aString"); out.close(); } catch (IOException e) { }| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2021-39828 | Adobe Digital Editions 安全漏洞 — Digital Editions | 5.8 | Medium | 2021-09-27 |
| CVE-2021-39827 | Adobe Digital Editions 安全漏洞 — Digital Editions | 6.5 | Medium | 2021-09-27 |
| CVE-2021-28613 | Adobe Creative Cloud Desktop Application 访问控制错误漏洞 — Creative Cloud (desktop component) | 7.4 | High | 2021-09-27 |
| CVE-2021-28568 | Adobe Genuine Software Service 访问控制错误漏洞 — GoCart | 5.8 | Medium | 2021-09-08 |
| CVE-2021-36002 | Adobe Captivate 安全漏洞 — Captivate | 5.0 | Medium | 2021-09-01 |
| CVE-2021-28633 | Creative Cloud Desktop Application 安全漏洞 — Creative Cloud (desktop component) | 6.1 | Medium | 2021-08-24 |
| CVE-2021-28623 | Adobe Premiere Elements 安全漏洞 — Premiere | 6.2 | - | 2021-06-28 |
| CVE-2021-28597 | Adobe Photoshop 安全漏洞 — Photoshop Elements | 6.2 | - | 2021-06-28 |
| CVE-2021-31411 | Vaadin flow 安全漏洞 — Vaadin | 6.3 | Medium | 2021-05-05 |
| CVE-2021-21100 | Adobe Digital Editions 安全漏洞 — Digital Editions | 7.8 | High | 2021-04-15 |
| CVE-2021-29428 | Gradle 安全漏洞 — gradle | 8.8 | High | 2021-04-13 |
| CVE-2021-21068 | Adobe Creative Cloud Desktop Application 安全漏洞 — Creative Cloud (desktop component) | 6.6 | - | 2021-03-12 |
| CVE-2021-21363 | HugoMario swagger-codegen 安全漏洞 — swagger-codegen | 5.3 | Medium | 2021-03-11 |
| CVE-2021-21331 | Datadog API 安全漏洞 — datadog-api-client-java | 3.0 | Low | 2021-03-03 |
| CVE-2020-8831 | Apport 后置链接漏洞 — Apport | 6.5 | Medium | 2020-04-22 |
| CVE-2016-9486 | ForeScout CounterACT 权限许可和访问控制漏洞 — Windows SecureConnector agent | 7.8 | - | 2018-07-13 |
| CVE-2013-1815 | OpenStack PackStack 不安全文件创建漏洞 — Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) | 6.1 | Medium | 2013-04-10 |
CWE-379(在具有不安全权限的目录中创建临时文件) 是常见的弱点类别,本平台收录该类弱点关联的 47 条 CVE 漏洞。