5.9 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
GoRest: InMemorySecret2FA race condition allows process crash via concurrent map access
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.
References
-
https://github.com/pilinux/gorest/security/advisories/GHSA-cpwg-x64r-rgwg x_refsource_CONFIRM
-
https://github.com/pilinux/gorest/pull/391 x_refsource_MISC
Affected products
- ==< 1.12.2
Matching in nixpkgs
pkgs.python313Packages.djangorestframework
Web APIs for Django, made easy
pkgs.python314Packages.djangorestframework
Web APIs for Django, made easy
pkgs.python313Packages.djangorestframework-csv
CSV Tools for Django REST Framework
pkgs.python314Packages.djangorestframework-csv
CSV Tools for Django REST Framework
pkgs.python313Packages.djangorestframework-jsonp
JSONP support for Django REST Framework
pkgs.python313Packages.djangorestframework-stubs
PEP-484 stubs for Django REST Framework
pkgs.python314Packages.djangorestframework-jsonp
JSONP support for Django REST Framework
pkgs.python314Packages.djangorestframework-stubs
PEP-484 stubs for Django REST Framework
pkgs.python313Packages.djangorestframework-api-key
API key permissions for Django REST Framework
pkgs.python314Packages.djangorestframework-api-key
API key permissions for Django REST Framework
pkgs.python313Packages.djangorestframework-guardian
Django-guardian support for Django REST Framework
pkgs.python314Packages.djangorestframework-guardian
Django-guardian support for Django REST Framework
pkgs.python313Packages.djangorestframework-recursive
Recursive Serialization for Django REST framework
pkgs.python313Packages.djangorestframework-simplejwt
JSON Web Token authentication plugin for Django REST Framework
pkgs.python314Packages.djangorestframework-recursive
Recursive Serialization for Django REST framework
pkgs.python314Packages.djangorestframework-simplejwt
JSON Web Token authentication plugin for Django REST Framework
pkgs.python313Packages.djangorestframework-camel-case
Camel case JSON support for Django REST framework
pkgs.python314Packages.djangorestframework-camel-case
Camel case JSON support for Django REST framework
pkgs.python313Packages.djangorestframework-dataclasses
Dataclasses serializer for Django REST framework
Package maintainers
-
@soyouzpanda soyouzpanda <soyouzpanda@soyouzpanda.fr>
-
@onny Jonas Heinrich <onny@project-insanity.org>