CVE-2022-23530Datadoghq Guarddog
Media 6.5 Sin autenticación
Seguir: esta CVE · Datadoghq · Datadoghq Guarddog Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probabilidad de explotación en 30 días · percentil 54
- Requiere autenticación
- No
- Publicada
- 16 dic 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Qué pasa
GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package. Extracting files using shutil.unpack_archive() from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten. This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Guarddog.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | guarddog |
< 0.1.8 |
0.1.8 |
pip install "guarddog>=0.1.8" |
| PyPI | guarddog |
< 0.1.8 |
0.1.8 |
pip install "guarddog>=0.1.8" |
Según OSV / GitHub Advisories (GHSA-78m5-jpmf-ch7v, PYSEC-2022-42993). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| datadoghq | guarddog | < 0.1.8 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory