Aller au contenu principal
CRITICAL

CVE-2022-1884

CVSS v3

9.8

CRITICAL

Score EPSS

9.8 %

probabilité d’exploitation

CISA KEV

Non

exploitation connue

Exploitation

statut SSVC

Description

A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upload a file into the .git directory, allowing them to write or rewrite the `.git/config` file. If the `core.sshCommand` is set, this can lead to remote command execution.

Détails techniques

Publiée le
2024-11-15

Questions fréquentes

Qu’est-ce que CVE-2022-1884 ?

A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upload a file into the .git directory, allowing them to write or rewrite the `.git/config` file. If the `core.sshCommand` is set, this can lead to remote command execution.

CVE-2022-1884 est-elle activement exploitée ?

Aucune exploitation active de CVE-2022-1884 n’est confirmée. Le score EPSS est de 9.8 %, soit la probabilité estimée d’exploitation dans les 30 prochains jours.

Quel est le score CVSS de CVE-2022-1884 ?

CVE-2022-1884 a un score de base CVSS v3 de 9.8 (gravité CRITICAL).

CVE-2022-1884 touche-t-elle votre environnement ?

Utilisez isMalicious pour vérifier si l’une de vos IP ou l’un de vos domaines est associé aux IOC de cette vulnérabilité.

Sans carte bancaire · 500 vérifications gratuites par mois · Clé API gratuite