> CVE-2022-31072 [LOW]

« BACK_TO_HOME
PUBLISHED
2022-06-15 23:15
MODIFIED
2024-11-21 07:03
CVSS_SCORE V3
2.5
EPSS (Prob. Exploit)
0.26%
Top 82.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-09-22 OSV 🔗 2026-09-20

> DESCRIPTION

Octokit is a Ruby toolkit for the GitHub API. Versions 4.23.0 and 4.24.0 of the octokit gem were published containing world-writeable files. Specifically, the gem was packed with files having their permissions set to `-rw-rw-rw-` (i.e. 0666) instead of `rw-r--r--` (i.e. 0644). This means everyone who is not the owner (Group and Public) with access to the instance where this release had been installed could modify the world-writable files from this gem. This issue is patched in Octokit 4.25.0. Two workarounds are available. Users can use the previous version of the gem, v4.22.0. Alternatively, users can modify the file permissions manually until they are able to upgrade to the latest version.

> AFFECTED_PRODUCTS

Octokit Project - Octokit
Version: 4.23.0
Octokit Project - Octokit
Version: 4.24.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-g28x-pgr3-qqx6 LOW

Octokit gem published with world-writable files

AFFECTED PACKAGES:
RUBYGEMS / octokit
>= 4.23.0, < 4.25.0
Fixed in: 4.25.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Octokit gem published with world-writable files

AFFECTED PACKAGES:
Unknown / Unknown
4 versions affected
ALIASES:
GHSA-g28x-pgr3-qqx6

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/06/2022 23:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:33
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME