Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/OliveTin/OliveTin
  4. ›
  5. GHSA-45m3-398w-m2m9

GHSA-45m3-398w-m2m9: OliveTin has unauthenticated DoS via concurrent map writes in OAuth2 state handling

March 2, 2026

An unauthenticated denial-of-service vulnerability exists in OliveTin’s OAuth2 login flow. Concurrent requests to /oauth/login can trigger unsynchronized access to a shared registeredStates map, causing a Go runtime panic (fatal error: concurrent map writes) and process termination. This allows remote attackers to crash the service when OAuth2 is enabled.

References

  • github.com/OliveTin/OliveTin
  • github.com/OliveTin/OliveTin/commit/f044d90d5525c4c8e3f421b32ed7eff771c22d36
  • github.com/OliveTin/OliveTin/security/advisories/GHSA-45m3-398w-m2m9
  • github.com/advisories/GHSA-45m3-398w-m2m9

Code Behaviors & Features

Detect and mitigate GHSA-45m3-398w-m2m9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260301235225-f044d90d5525c

Fixed versions

  • 0.0.0-20260301235225-f044d90d5525c

Solution

Upgrade to version 0.0.0-20260301235225-f044d90d5525c or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-400: Uncontrolled Resource Consumption
  • CWE-662: Improper Synchronization

Source file

go/github.com/OliveTin/OliveTin/GHSA-45m3-398w-m2m9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 18 May 2026 00:18:03 +0000.