Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHSA-vpw3-3prf-3974] Improper Control of Generation of Code ('Code Injection')... #4345

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"schema_version": "1.4.0",
"id": "GHSA-vpw3-3prf-3974",
"modified": "2024-05-03T20:27:26Z",
"published": "2024-05-03T09:30:52Z",
"aliases": [
"CVE-2023-35701"
],
"summary": "Apache Hive: Arbitrary command execution via JDBC",
"details": "Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Hive.\n\nThe vulnerability affects the Hive JDBC driver component and it can potentially lead to arbitrary code execution on the machine/endpoint that the JDBC driver (client) is running. The malicious user must have sufficient permissions to specify/edit JDBC URL(s) in an endpoint relying on the Hive JDBC driver and the JDBC client process must run under a privileged user to fully exploit the vulnerability. \n\nThe attacker can setup a malicious HTTP server and specify a JDBC URL pointing towards this server. When a JDBC connection is attempted, the malicious HTTP server can provide a special response with customized payload that can trigger the execution of certain commands in the JDBC client.This issue affects Apache Hive: from 4.0.0-alpha-1 before 4.0.0.\n\nUsers are recommended to upgrade to version 4.0.0, which fixes the issue.\n\n",
"severity": [

],
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.hive:hive-jdbc"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0-alpha-1"
},
{
"fixed": "4.0.0"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35701"
},
{
"type": "WEB",
"url": "https://github.com/apache/hive/commit/7abeb1df463cc389f668172e7cf3bb772799858a"
},
{
"type": "WEB",
"url": "https://issues.apache.org/jira/browse/HIVE-27554"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2024/05/03/3"
}
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": null,
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-05-03T09:15:07Z"
}
}