> CVE-2026-48154 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-04 20:16
MODIFIED
2026-08-04 20:16
CVSS_SCORE V3
5.9
EPSS (Prob. Exploit)
0.40%
Top 67.1%
DATA SOURCES:
NVD 🔗 2026-08-04 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 OSV 🔗 2026-08-10

> DESCRIPTION

GoRest is a Golang starter kit built with the Gin framework for prototyping and developing RESTful APIs. In versions prior to 1.12.2 nMemorySecret2FA contains a race condition due to an unsynchronized package-level map used to store 2FA secrets. Multiple HTTP handlers in handler/login.go and handler/twoFA.go read from and write to this map concurrently, and because Go's runtime treats unsynchronized concurrent map access as an unrecoverable fatal error, an attacker can repeatedly trigger this condition to crash the process on demand. This results in high, repeatable availability impact with no confidentiality or integrity consequences. This issue has been fixed in version 1.12.2.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EXPLOITABILITY
2.2
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
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
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-362

> CWE DETAILED DESCRIPTIONS

CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization - The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

GoRest: InMemorySecret2FA race condition allows process crash via concurrent map access

AFFECTED PACKAGES:
Unknown / Unknown
99 versions affected
ALIASES:
GHSA-cpwg-x64r-rgwg, GO-2026-5330

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/08/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') - The product contains a concurrent code sequence that requires temporary, exclusive access to a sh...
Nouvelle valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization - The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but ...
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') - The product contains a concurrent code sequence that requires temporary, exclusive access to a sh...
Total des modifications: 2 Dernière mise à jour: 3 days ago

> REFERENCES

https://github.com/pilinux/gorest/commit/117ff55fc21b47442da07c44c30b403af2da407...
https://github.com/pilinux/gorest/pull/391
https://github.com/pilinux/gorest/security/advisories/GHSA-cpwg-x64r-rgwg
« BACK_TO_HOME