{"id":"CVE-2024-30257","aliases":["GHSA-6m9h-2pr2-9j8f","GO-2024-2734"],"title":"1Panel's password verification is suspected to have a timing attack vulnerability","summary":"1Panel's password verification is suspected to have a timing attack vulnerability","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","vendor":"1Panel-dev","product":"github.com/1Panel-dev/1Panel","ecosystem":"go","affected":["github.com/1Panel-dev/1Panel < 1.10.3"],"patched":["github.com/1Panel-dev/1Panel 1.10.3"],"published":"2024-04-18","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:11.157014720Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-6m9h-2pr2-9j8f","references":[{"url":"https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-6m9h-2pr2-9j8f"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30257"},{"url":"https://github.com/1Panel-dev/1Panel"},{"url":"https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26"}],"tags":["osv","go"],"epss":0.0038,"epssPercentile":0.29177,"ingestedAt":"2026-09-12T03:13:01.759Z","slug":"CVE-2024-30257","body":"## Overview\n\n### Summary\n源码中密码校验处使用 != 符号，而不是`hmac.Equal`，这可能导致产生计时攻击漏洞，从而爆破密码。  \n建议使用 `hmac.Equal` 比对密码。\n\nTranslation:\n\nThe 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.\n\n### Details\nhttps://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26\n\n### Impact\n该产品的所有使用者。\n\nTranslation:\n\nAll users of this product.\n\n## Affected packages\n\n- `github.com/1Panel-dev/1Panel < 1.10.3`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/1Panel-dev/1Panel 1.10.3`","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}