GHSA-qc6v-g3xw-grmx

Suggest an improvement
Source
https://github.com/advisories/GHSA-qc6v-g3xw-grmx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-qc6v-g3xw-grmx/GHSA-qc6v-g3xw-grmx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qc6v-g3xw-grmx
Aliases
Related
Published
2024-01-03T16:13:33Z
Modified
2024-11-18T16:26:34Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Authenticated users can crash the CubeFS servers with maliciously crafted requests
Details

A security vulnerability was found in CubeFS HandlerNode that could allow authenticated users to send maliciously-crafted requests that would crash the ObjectNode and deny other users from using it. The root cause was improper handling of incoming HTTP requests that could allow an attacker to control the ammount of memory that the ObjectNode would allocate. A malicious request could make the ObjectNode allocate more memory that the machine had available, and the attacker could exhaust memory by way of a single malicious request.

An attacker would need to be authenticated in order to invoke the vulnerable code with their malicious request and have permissions to delete objects. In addition, the attacker would need to know the names of existing buckets of the CubeFS deployment - otherwise the request would be rejected before it reached the vulnerable code. As such, the most likely attacker is an inside user or an attacker that has breached the account of an existing user in the cluster. There is no evidence of this attack being exploited in the wild. The vulnerability was found during a security audit carried out by Ada Logics in collaboration with OSTIF and the CNCF.

The issue has been patched in v3.3.1. There is no other mitigation besides upgrading.

Database specific
{
    "nvd_published_at": "2024-01-03T16:15:08Z",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-03T16:13:33Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Go / github.com/cubefs/cubefs

Package

Name
github.com/cubefs/cubefs
View open source insights on deps.dev
Purl
pkg:golang/github.com/cubefs/cubefs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1