CVE-2023-46739: CubeFS timing attack can leak user passwords
A vulnerability was found during in the CubeFS master component that could allow an untrusted attacker to steal user passwords by carrying out a timing attack. The root case of the vulnerability was that CubeFS used raw string comparison of passwords. The vulnerable part of CubeFS was the UserService of the master component. The UserService gets instantiated when starting the server of the master component.
Published Jan 3, 2024 · Updated Nov 18, 2024
Affected packages
github.com/cubefs/cubefs
- Ecosystem
- Go
- Affected
- < 3.3.1
- Fixed in
- 3.3.1
- Check
go list -m github.com/cubefs/cubefs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found during in the CubeFS master component that could allow an untrusted attacker to steal user passwords by carrying out a timing attack. The root case of the vulnerability was that CubeFS used raw string comparison of passwords.
The vulnerable part of CubeFS was the UserService of the master component. The UserService gets instantiated when starting the server of the master component.
CubeFS has not seen any evidence of this being exploited in the wild. The vulnerability was found during a security audit conducted by Ada Logics in collaboration with OSTIF and the CNCF.
The issue has been patched in v3.3.1. For impacted users, there is no other way to mitigate the issue besides upgrading.
Credited to AdamKorcz.
References
- https://github.com/cubefs/cubefs/security/advisories/GHSA-8579-7p32-f398
- https://github.com/cubefs/cubefs/commit/c21d034d2fcd051ffd64afeafc68cbcb39d26551
- https://nvd.nist.gov/vuln/detail/CVE-2023-46739
- https://github.com/cubefs/cubefs/commit/6a0d5fa45a77ff20c752fa9e44738bf5d86c84bd
- https://github.com/advisories/GHSA-8579-7p32-f398
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2023-46738
Authenticated users can crash the CubeFS servers with maliciously crafted requests
high6.5Jan 3, 2024CVE-2023-46740
Insecure random string generator used for sensitive data
high6.5Jan 3, 2024CVE-2023-46741
CubeFS leaks magic secret key when starting Blobstore access service
medium4.8Jan 3, 2024CVE-2023-46742
CubeFS leaks users key in logs
medium4.8Jan 3, 2024
