{"id":"GHSA-6m9h-2pr2-9j8f","revision":"c5c5bc75a8ef4d4392eabe754190f77e","records":[{"revision":"c5c5bc75a8ef4d4392eabe754190f77e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-6m9h-2pr2-9j8f","aliases":["CVE-2024-30257","GO-2024-2734"],"title":"1Panel's password verification is suspected to have a timing attack vulnerability","description":"### 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.","state":0,"publishedAt":"2024-04-18T16:44:16+00:00","modifiedAt":"2026-09-10T03:50:11.1570147+00:00","affected":[{"ecosystem":"Go","name":"github.com/1Panel-dev/1Panel","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.10.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-6m9h-2pr2-9j8f","https://nvd.nist.gov/vuln/detail/CVE-2024-30257","https://github.com/1Panel-dev/1Panel","https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26"],"sourceUrl":"https://github.com/advisories/GHSA-6m9h-2pr2-9j8f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6m9h-2pr2-9j8f","identifiers":["GHSA-6m9h-2pr2-9j8f","CVE-2024-30257","GO-2024-2734"]},"retained":false,"historicalAffected":[]}],"coverage":[]}