CVE-2024-6873 (GCVE-0-2024-6873)
Vulnerability from cvelistv5 – Published: 2024-08-01 15:57 – Updated: 2024-08-02 15:18
VLAI?
Title
Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.
Summary
It is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited.
Fixes have been merged to all currently supported version of ClickHouse. If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit https://github.com/ClickHouse/ClickHouse/pull/64024 .
Severity ?
8.1 (High)
CWE
- CWE-122 - Heap-based Buffer Overflow
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| ClickHouse | ClickHouse |
Affected:
v23.8.0 , < v23.8.15.35-lts
(custom)
Affected: v24.3.0 , < v24.3.4.147-lts (custom) Affected: v24.4.0 , < v24.4.2.141-stable (custom) Affected: v24.5.0 , < v24.5.1.1763 (custom) Affected: v24.6.0 , < v24.6.1.4423-stable (custom) |
Credits
malacupa (Independent researcher)
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-6873",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-08-02T15:18:14.184641Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-08-02T15:18:28.271Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unknown",
"packageName": "clickhouse",
"product": "ClickHouse",
"repo": "https://github.com/ClickHouse/clickhouse",
"vendor": "ClickHouse",
"versions": [
{
"lessThan": "v23.8.15.35-lts",
"status": "affected",
"version": "v23.8.0",
"versionType": "custom"
},
{
"lessThan": "v24.3.4.147-lts",
"status": "affected",
"version": "v24.3.0",
"versionType": "custom"
},
{
"lessThan": "v24.4.2.141-stable",
"status": "affected",
"version": "v24.4.0",
"versionType": "custom"
},
{
"lessThan": "v24.5.1.1763",
"status": "affected",
"version": "v24.5.0",
"versionType": "custom"
},
{
"lessThan": "v24.6.1.4423-stable",
"status": "affected",
"version": "v24.6.0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "malacupa (Independent researcher)"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003eIt is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited.\u003cbr\u003e\u003c/span\u003e\u003cbr\u003e\u0026nbsp;Fixes have been merged to all currently supported version of ClickHouse.\u0026nbsp;If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit\u0026nbsp;\u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/ClickHouse/ClickHouse/pull/64024\"\u003ehttps://github.com/ClickHouse/ClickHouse/pull/64024\u003c/a\u003e."
}
],
"value": "It is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited.\n\n\u00a0Fixes have been merged to all currently supported version of ClickHouse.\u00a0If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit\u00a0 https://github.com/ClickHouse/ClickHouse/pull/64024 ."
}
],
"impacts": [
{
"capecId": "CAPEC-100",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-100 Overflow Buffers"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-122",
"description": "CWE-122 Heap-based Buffer Overflow",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-08-01T15:57:41.585Z",
"orgId": "cb7ba516-3b07-4c98-b0c2-715220f1a8f6",
"shortName": "ClickHouse"
},
"references": [
{
"url": "https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-432f-r822-j66f"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.\u003c/p\u003e"
}
],
"value": "ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched."
}
],
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "cb7ba516-3b07-4c98-b0c2-715220f1a8f6",
"assignerShortName": "ClickHouse",
"cveId": "CVE-2024-6873",
"datePublished": "2024-08-01T15:57:25.304Z",
"dateReserved": "2024-07-18T03:24:47.800Z",
"dateUpdated": "2024-08-02T15:18:28.271Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"cna\": {\"title\": \"Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"malacupa (Independent researcher)\"}], \"impacts\": [{\"capecId\": \"CAPEC-100\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-100 Overflow Buffers\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 8.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/ClickHouse/clickhouse\", \"vendor\": \"ClickHouse\", \"product\": \"ClickHouse\", \"versions\": [{\"status\": \"affected\", \"version\": \"v23.8.0\", \"lessThan\": \"v23.8.15.35-lts\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"v24.3.0\", \"lessThan\": \"v24.3.4.147-lts\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"v24.4.0\", \"lessThan\": \"v24.4.2.141-stable\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"v24.5.0\", \"lessThan\": \"v24.5.1.1763\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"v24.6.0\", \"lessThan\": \"v24.6.1.4423-stable\", \"versionType\": \"custom\"}], \"packageName\": \"clickhouse\", \"defaultStatus\": \"unknown\"}], \"references\": [{\"url\": \"https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-432f-r822-j66f\"}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"ClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eClickHouse recommends locking down native interface to trusted IP addresses only until the system is patched.\u003c/p\u003e\", \"base64\": false}]}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"It is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited.\\n\\n\\u00a0Fixes have been merged to all currently supported version of ClickHouse.\\u00a0If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit\\u00a0 https://github.com/ClickHouse/ClickHouse/pull/64024 .\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cspan style=\\\"background-color: rgb(255, 255, 255);\\\"\u003eIt is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited.\u003cbr\u003e\u003c/span\u003e\u003cbr\u003e\u0026nbsp;Fixes have been merged to all currently supported version of ClickHouse.\u0026nbsp;If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit\u0026nbsp;\u003ca target=\\\"_blank\\\" rel=\\\"nofollow\\\" href=\\\"https://github.com/ClickHouse/ClickHouse/pull/64024\\\"\u003ehttps://github.com/ClickHouse/ClickHouse/pull/64024\u003c/a\u003e.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-122\", \"description\": \"CWE-122 Heap-based Buffer Overflow\"}]}], \"providerMetadata\": {\"orgId\": \"cb7ba516-3b07-4c98-b0c2-715220f1a8f6\", \"shortName\": \"ClickHouse\", \"dateUpdated\": \"2024-08-01T15:57:41.585Z\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-6873\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-08-02T15:18:14.184641Z\"}}}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2024-08-02T15:18:21.987Z\"}}]}",
"cveMetadata": "{\"cveId\": \"CVE-2024-6873\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-01T15:57:41.585Z\", \"dateReserved\": \"2024-07-18T03:24:47.800Z\", \"assignerOrgId\": \"cb7ba516-3b07-4c98-b0c2-715220f1a8f6\", \"datePublished\": \"2024-08-01T15:57:25.304Z\", \"assignerShortName\": \"ClickHouse\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…