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
17
bitbucket
jre
openjdk
vulnerability
security
update
17.0.10
cve-2024-20918
cve-2024-20919
javascript

CVSS3

7.4

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

AI Score

7.9

Confidence

Low

EPSS

0.001

Percentile

37.2%

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

Affected configurations

Vulners
Node
atlassianbitbucket_data_centerRange8.16.0
VendorProductVersionCPE
atlassianbitbucket_data_center*cpe:2.3:a:atlassian:bitbucket_data_center:*:*:*:*:*:*:*:*

CVSS3

7.4

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

AI Score

7.9

Confidence

Low

EPSS

0.001

Percentile

37.2%