要点
- CVE-2026-24846 是影响 github.com/chainguard-dev/malcontent, malcontent (chainguard) 的中危 (CVSS 5.0)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.19%,高于 8.3% 的漏洞。
- 修复:升级到 1.20.3 或更高版本。
Description
malcontent could be made to create symlinks outside the intended extraction directory when scanning a specially crafted tar or deb archive. The handleSymlink function received arguments in the wrong order, causing the symlink target to be used as the symlink location. Additionally, symlink targets were not validated to ensure they resolved within the extraction directory.
Fixes:
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting this issue.
NVD description
malcontent discovers supply-chain compromises through. context, differential analysis, and YARA. Starting in version 1.8.0 and prior to version 1.20.3, malcontent could be made to create symlinks outside the intended extraction directory when scanning a specially crafted tar or deb archive. The `handleSymlink` function received arguments in the wrong order, causing the symlink target to be used as the symlink location. Additionally, symlink targets were not validated to ensure they resolved within the extraction directory. Version 1.20.3 introduces fixes that swap handleSymlink arguments, validate symlink location, and validate symlink targets that resolve within an extraction directory.
github.com/chainguard-dev/malcontent 的其他漏洞
查看全部 →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free