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

CVE-2024-40430: SFTPGo's JWT implmentation lacks certain security measures

July 22, 2024

In SFTPGo 2.6.2, the JWT implementation lacks certain security measures, such as using JWT ID (JTI) claims, nonces, and proper expiration and invalidation mechanisms.

References

  • alexsecurity.rocks/posts/cve-2024-40430
  • github.com/advisories/GHSA-x72p-g37q-4xr9
  • github.com/drakkan/sftpgo
  • nvd.nist.gov/vuln/detail/CVE-2024-40430

Code Behaviors & Features

Detect and mitigate CVE-2024-40430 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 up to 2.6.2

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-323: Reusing a Nonce, Key Pair in Encryption

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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