Use of Hard-coded Cryptographic Key Affecting topthink/think package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (30th 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 IDSNYK-PHP-TOPTHINKTHINK-6282942
  • published28 Feb 2024
  • disclosed27 Feb 2024
  • creditglzjin

Introduced: 27 Feb 2024

CVE-2024-1920  (opens in a new tab)
CWE-321  (opens in a new tab)

How to fix?

There is no fixed version for topthink/think.

Overview

topthink/think is a the new thinkphp framework.

Affected versions of this package are vulnerable to Use of Hard-coded Cryptographic Key due to the improper handling of the file /app/middleware/TokenVerify.php. An attacker can compromise the security of communications by exploiting the hard-coded cryptographic key.

References

CVSS Scores

version 3.1