源码中密码校验处使用 != 符号,而不是hmac.Equal
,这可能导致产生计时攻击漏洞,从而爆破密码。
建议使用 hmac.Equal
比对密码。
Translation:
The source code uses the != symbol instead of hmac.Equal for password verification, which may lead to timing attack vulnerabilities that can lead to password cracking. It is recommended to use hmac. Equal to compare passwords.
https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26
该产品的所有使用者。
Translation:
All users of this product.
{ "nvd_published_at": "2024-04-18T15:15:30Z", "cwe_ids": [ "CWE-203" ], "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2024-04-18T16:44:16Z" }