在 GnuPG 2.5.19 版本之前的 gpgtar 工具存在一个安全漏洞,允许通过构造的归档数据实现文件覆盖。当使用 --directory(即 -C)选项从不受信任的归档文件中提取内容到一个已存在预置符号链接的目录时,gpgtar 可能会跟随该符号链接,并在所选的提取目录外部创建或覆盖文件。该写入操作受提取用户的文件系统权限限制。若将归档文件提取到一个全新的空目录中,则不存在此风险。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet