Use of a Broken or Risky Cryptographic Algorithm Affecting github.com/drakkan/sftpgo/v2/internal/util package, versions >=2.3.0 <2.6.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDRAKKANSFTPGOV2INTERNALUTIL-8445291
  • published1 Dec 2024
  • disclosed29 Nov 2024
  • creditDenis Ratchenko

Introduced: 29 Nov 2024

NewCVE-2024-52801  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade github.com/drakkan/sftpgo/v2/internal/util to version 2.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm due to the predictable generation of session cookies using the xid library. An attacker can gain unauthorized access to user data by exploiting the predictability of cookie generation.

References

CVSS Scores

version 4.0
version 3.1