GSD-2021-34538
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
Apache Hive before 3.1.3 "CREATE" and "DROP" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-34538",
"description": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.",
"id": "GSD-2021-34538"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-34538"
],
"details": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.",
"id": "GSD-2021-34538",
"modified": "2023-12-13T01:23:13.834055Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@apache.org",
"ID": "CVE-2021-34538",
"STATE": "PUBLIC",
"TITLE": "Apache Hive Security vulnerability in Hive with UDFs"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Apache Hive",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "Apache Hive",
"version_value": "3.1.3"
}
]
}
}
]
},
"vendor_name": "Apache Software Foundation"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "This vulnerability was discovered and reported by Hideyuki Furue."
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious."
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": [
{
"other": "Very Important"
}
],
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-306 Missing Authentication for Critical Function"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354",
"refsource": "MISC",
"url": "https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354"
}
]
},
"source": {
"defect": [
"HIVE-25468",
""
],
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "(,3.1.3)",
"affected_versions": "All versions before 3.1.3",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-306",
"CWE-937"
],
"date": "2022-07-21",
"description": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.",
"fixed_versions": [
"3.1.3"
],
"identifier": "CVE-2021-34538",
"identifiers": [
"CVE-2021-34538"
],
"not_impacted": "All versions starting from 3.1.3",
"package_slug": "maven/org.apache.hive/hive-jdbc",
"pubdate": "2022-07-16",
"solution": "Upgrade to version 3.1.3 or above.",
"title": "Missing Authentication for Critical Function",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-34538",
"https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354"
],
"uuid": "cb587c74-6763-4a19-99c6-6310a3c2df1b"
},
{
"affected_range": "(,3.1.3)",
"affected_versions": "All versions before 3.1.3",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-306",
"CWE-937"
],
"date": "2022-07-21",
"description": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.",
"fixed_versions": [
"3.1.3"
],
"identifier": "CVE-2021-34538",
"identifiers": [
"CVE-2021-34538"
],
"not_impacted": "All versions starting from 3.1.3",
"package_slug": "maven/org.apache.hive/hive-service",
"pubdate": "2022-07-16",
"solution": "Upgrade to version 3.1.3 or above.",
"title": "Missing Authentication for Critical Function",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-34538",
"https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354"
],
"uuid": "72c4efe9-01da-41b6-9054-b68d12f00053"
},
{
"affected_range": "(,3.1.3)",
"affected_versions": "All versions before 3.1.3",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-306",
"CWE-937"
],
"date": "2022-07-21",
"description": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious.",
"fixed_versions": [
"3.1.3"
],
"identifier": "CVE-2021-34538",
"identifiers": [
"CVE-2021-34538"
],
"not_impacted": "All versions starting from 3.1.3",
"package_slug": "maven/org.apache.hive/hive",
"pubdate": "2022-07-16",
"solution": "Upgrade to version 3.1.3 or above.",
"title": "Missing Authentication for Critical Function",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-34538",
"https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354"
],
"uuid": "2fca6f9b-5191-4a0e-b4be-ea5d28c731ea"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.1.3",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@apache.org",
"ID": "CVE-2021-34538"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Apache Hive before 3.1.3 \"CREATE\" and \"DROP\" function operations does not check for necessary authorization of involved entities in the query. It was found that an unauthorized user can manipulate an existing UDF without having the privileges to do so. This allowed unauthorized or underprivileged users to drop and recreate UDFs pointing them to new jars that could be potentially malicious."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-306"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Mailing List",
"Vendor Advisory"
],
"url": "https://lists.apache.org/thread/oqqgnhz4c6nxsfd0xstosnk0g15f7354"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-07-21T13:53Z",
"publishedDate": "2022-07-16T07:15Z"
}
}
}
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…