GHSA-77pm-w3hx-f8mj

Suggest an improvement
Source
https://github.com/advisories/GHSA-77pm-w3hx-f8mj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-77pm-w3hx-f8mj/GHSA-77pm-w3hx-f8mj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-77pm-w3hx-f8mj
Aliases
Published
2024-12-23T18:30:47Z
Modified
2024-12-26T20:24:02.745974Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Apache Hive and Spark: CookieSigner exposes the correct signature when message verification fails
Details

Signing cookies is an application security feature that adds a digital signature to cookie data to verify its authenticity and integrity. The signature helps prevent malicious actors from modifying the cookie value, which can lead to security vulnerabilities and exploitation. Apache Hive’s service component accidentally exposes the signed cookie to the end user when there is a mismatch in signature between the current and expected cookie. Exposing the correct cookie signature can lead to further exploitation.

The vulnerable CookieSigner logic was introduced in Apache Hive by HIVE-9710 (1.2.0) and in Apache Spark by SPARK-14987 (2.0.0). The affected components are the following: * org.apache.hive:hive-service * org.apache.spark:spark-hive-thriftserver2.11 * org.apache.spark:spark-hive-thriftserver2.12

Database specific
{
    "nvd_published_at": "2024-12-23T16:15:05Z",
    "cwe_ids": [
        "CWE-209"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-23T21:14:54Z"
}
References

Affected packages

Maven / org.apache.hive:hive-service

Package

Name
org.apache.hive:hive-service
View open source insights on deps.dev
Purl
pkg:maven/org.apache.hive/hive-service

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.2.0
Fixed
4.0.0

Affected versions

1.*

1.2.0
1.2.1
1.2.2

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.3.9
2.3.10

3.*

3.0.0
3.1.0
3.1.1
3.1.2
3.1.3

4.*

4.0.0-alpha-1
4.0.0-alpha-2
4.0.0-beta-1

Maven / org.apache.spark:spark-hive-thriftserver_2.11

Package

Name
org.apache.spark:spark-hive-thriftserver_2.11
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-hive-thriftserver_2.11

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.4.8

Affected versions

1.*

1.6.3

2.*

2.0.0
2.0.0-preview
2.0.1
2.0.2
2.1.0
2.1.1
2.1.2
2.1.3
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8

Maven / org.apache.spark:spark-hive-thriftserver_2.12

Package

Name
org.apache.spark:spark-hive-thriftserver_2.12
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-hive-thriftserver_2.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2

Affected versions

2.*

2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8

3.*

3.0.0
3.0.0-preview
3.0.0-preview2
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.4.0
3.4.1