Lucene search

K
atlassian3833708f677eBSERV-19386
HistoryApr 22, 2024 - 6:45 a.m.

Bundled JRE in Bitbucket 8.16+ is vulnerable to OpenJDK vulnerabilities CVE-2024-20918, CVE-2024-20919

2024-04-2206:45:05
3833708f677e
jira.atlassian.com
8
bitbucket
jre
openjdk
vulnerability
security
update
17.0.10
cve-2024-20918
cve-2024-20919
javascript

7.4 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

7.9 High

AI Score

Confidence

Low

4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:H/Au:N/C:P/I:P/A:N

0.001 Low

EPSS

Percentile

36.6%

h3. Issue Summary

Bitbucket 8.16 and above bundles OpenJDK 17.0.9 which is vulnerable as per [OpenJDK advisory|https://openjdk.org/groups/vulnerability/advisories/2024-01-16]. .The recommendation is to update Java to a version greater than 17.0.9 such as 17.0.10.

  • A vulnerability that allows an attacker to execute arbitrary java code
    from the javascript engine even though the option --no-java was set.
    (CVE-2024-20918) (CVE-2024-20919, CVE-2024-20921, CVE-2024-20945)

h4. Steps to Reproduce:

Install Bitbucket and use the bundled JRE.
h3. Expected Results

The bundled JRE is not vulnerable to (CVE-2024-20918) (CVE-2024-20919, CVE-2024-20921, CVE-2024-20945)
h3. Actual Results

The bundled JRE is vulnerable to CVE-2024-20918, CVE-2024-20919, CVE-2024-20921, CVE-2024-20945
h3. Workaround

Instead of using the JRE bundled with Bitbucket, Manually install a JRE 17.0.10 or above that includes fixes for the security vulnerabilities

CPENameOperatorVersion
bitbucket data centerle8.16.0

7.4 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

7.9 High

AI Score

Confidence

Low

4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:H/Au:N/C:P/I:P/A:N

0.001 Low

EPSS

Percentile

36.6%