Amenazas en vivo

Todas las CVE / Git-php Project

CVE-2022-25866Git-php Project Git-php

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
4.1%
probabilidad de explotación en 30 días · percentil 91
Requiere autenticación
No
Publicada
25 abr 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-88
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Git-php.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist czproject/git-php < 4.0.3 4.0.3 composer require "czproject/git-php:^4.0.3"

Según OSV / GitHub Advisories (GHSA-3xpw-vhmv-cw7h). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
git-php_projectgit-php< 4.0.3

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.