Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/oxia-db/oxia
  4. ›
  5. GHSA-5gqc-qhrj-9xw8

GHSA-5gqc-qhrj-9xw8: Oxia affected by server crash via race condition in session heartbeat handling

April 14, 2026

A race condition between session heartbeat processing and session closure can cause the server to panic with send on closed channel. The heartbeat() method uses a blocking channel send while holding a mutex, and under specific timing with concurrent close() calls, this can lead to either a deadlock (channel buffer full) or a panic (send on closed channel after TOCTOU gap in KeepAlive).

References

  • github.com/advisories/GHSA-5gqc-qhrj-9xw8
  • github.com/oxia-db/oxia
  • github.com/oxia-db/oxia/security/advisories/GHSA-5gqc-qhrj-9xw8

Code Behaviors & Features

Detect and mitigate GHSA-5gqc-qhrj-9xw8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.16.2

Fixed versions

  • 0.16.2

Solution

Upgrade to version 0.16.2 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')

Source file

go/github.com/oxia-db/oxia/GHSA-5gqc-qhrj-9xw8.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:46 +0000.