Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/drakkan/sftpgo/v2
  4. ›
  5. CVE-2024-52801

CVE-2024-52801: sftpgo vulnerable to brute force takeover of OpenID Connect session cookies

December 2, 2024

The OpenID Connect implementation, in the affected SFTPGo versions, allows authenticated users to brute force session cookies and thereby gain access to other users’ data, since the cookies are generated predictably using the xid library and are therefore unique but not cryptographically secure.

References

  • github.com/advisories/GHSA-6943-qr24-82vx
  • github.com/drakkan/sftpgo
  • github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6
  • github.com/drakkan/sftpgo/security/advisories/GHSA-6943-qr24-82vx
  • github.com/rs/xid
  • nvd.nist.gov/vuln/detail/CVE-2024-52801

Code Behaviors & Features

Detect and mitigate CVE-2024-52801 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 starting from 2.3.0 before 2.6.4

Fixed versions

  • 2.6.4

Solution

Upgrade to version 2.6.4 or above.

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

go/github.com/drakkan/sftpgo/v2/CVE-2024-52801.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:41 +0000.