5.5Media

CVE-2026-24846malcontent's archive extraction could write outside extraction directory

chainguard-dev malcontent Publicada: (hace 9 meses)

Descripción

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.

Debilidad (CWE): CWE-22CWE-683

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
chainguard malcontent 1.8.0 – < 1.20.3
chainguard-dev malcontent >= 1.8.0, < 1.20.3

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:chainguard:malcontent:*:*:*:*:*:*:*:* ≥ 1.8.0 < 1.20.3