CVE-2023-46739: Github.com/cubefs/cubefs CubeFS Timing Attack Can Leak Vulnerability
HIGHCVE-2023-46739 is a HIGH (CVSS 6.5) cubefs timing attack can leak vulnerability (CWE-203: Observable Discrepancy) affecting Github.com/cubefs/cubefs libraries in the Go ecosystem. The issue involves cubefs timing attack can leak user passwords. Remediation is available by upgrading affected packages to version 3.3.1.
CVE-2023-46739 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L).
How to Fix CVE-2023-46739
To remediate this vulnerability, upgrade all affected Github.com/cubefs/cubefs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cubefs/cubefs to 3.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cubefs/cubefs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-46739, inspect your project dependencies for Github.com/cubefs/cubefs:
inspect dependencies for github.com/cubefs/cubefs
Analyze the terminal output to locate any version of Github.com/cubefs/cubefs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Github.com/cubefs/cubefs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-46739 Affected Github.com/cubefs/cubefs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cubefs/cubefs
|
Go |
< 3.3.1
|
3.3.1
|
References
Frequently Asked Questions
What is CVE-2023-46739?
Which Github.com/cubefs/cubefs versions are affected?
What version fixes CVE-2023-46739?
Is github.com/cubefs/cubefs affected?
What is the CVSS score of CVE-2023-46739?
What CWE is associated with CVE-2023-46739?
How can I check Go dependencies for CVE-2023-46739?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8579-7p32-f398",
"modified" : "2024-11-18T16:26:34Z",
"published" : "2024-01-03T16:13:52Z",
"aliases" : [ "CVE-2023-46739" ],
"summary" : "CubeFS timing attack can leak user passwords",
"details" : "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.\n\nThe vulnerable part of CubeFS was the UserService of the master component. The UserService gets instantiated when starting the server of the master component. \n\nCubeFS has not seen any evidence of this being exploited in the wild. The vulnerability was found during a security audit conducted by [Ada Logics](https://adalogics.com/) in collaboration with [OSTIF](https://ostif.org/) and the [CNCF](https://www.cncf.io/).\n\nThe issue has been patched in v3.3.1. For impacted users, there is no other way to mitigate the issue besides upgrading. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cubefs/cubefs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cubefs/cubefs/security/advisories/GHSA-8579-7p32-f398"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46739"
}, {
"type" : "WEB",
"url" : "https://github.com/cubefs/cubefs/commit/6a0d5fa45a77ff20c752fa9e44738bf5d86c84bd"
}, {
"type" : "WEB",
"url" : "https://github.com/cubefs/cubefs/commit/c21d034d2fcd051ffd64afeafc68cbcb39d26551"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cubefs/cubefs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-03T16:13:52Z",
"nvd_published_at" : "2024-01-03T17:15:10Z"
}
}