Lucene search

K
atlassianSecurity-metrics-botBSERV-19044
HistoryDec 14, 2023 - 7:45 a.m.

DoS (Denial of Service) org.eclipse.jetty:jetty-http Dependency in Bitbucket Data Center and Server

2023-12-1407:45:23
security-metrics-bot
jira.atlassian.com
7
bitbucket
data center
server
vulnerability
eclipse jetty
security
upgrade
fixed versions
threat
atlassian
http/2
denial of service
integer overflow

7.2 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

64.7%

This High severity org.eclipse.jetty:jetty-http Dependency vulnerability was introduced in versions 8.9.0, 8.10.0, 8.11.0, 8.12.0, 8.13.0, 8.14.0, 8.15.0, and 8.16.0 of Bitbucket Data Center and Server.

This org.eclipse.jetty:jetty-http Dependency vulnerability, with a CVSS Score of 7.5 and a CVSS Vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H allows an unauthenticated attacker to expose assets in your environment susceptible to exploitation which has no impact to confidentiality, no impact to integrity, high impact to availability, and requires no user interaction.

Atlassian recommends that Bitbucket Data Center and Server customers upgrade to latest version, if you are unable to do so, upgrade your instance to one of the specified supported fixed versions:

  • Bitbucket Data Center and Server 8.9: Upgrade to a release greater than or equal to 8.9.8

  • Bitbucket Data Center and Server 8.13: Upgrade to a release greater than or equal to 8.13.4

  • Bitbucket Data Center and Server 8.14: Upgrade to a release greater than or equal to 8.14.3

  • Bitbucket Data Center 8.15: Upgrade to a release greater than or equal to 8.15.2

  • Bitbucket Data Center 8.16: Upgrade to a release greater than or equal to 8.16.1

See the release notes ([https://confluence.atlassian.com/bitbucketserver/release-notes]). You can download the latest version of Bitbucket Data Center and Server from the download center ([https://www.atlassian.com/software/bitbucket/download-archives]).

The National Vulnerability Database provides the following description for this vulnerability: Eclipse Jetty provides a web server and servlet container. In versions 11.0.0 through 11.0.15, 10.0.0 through 10.0.15, and 9.0.0 through 9.4.52, an integer overflow in MetaDataBuilder.checkSize allows for HTTP/2 HPACK header values to
exceed their size limit. MetaDataBuilder.java determines if a header name or value exceeds the size limit, and throws an exception if the limit is exceeded. However, when length is very large and huffman is true, the multiplication by 4 in line 295
will overflow, and length will become negative. (_size+length) will now be negative, and the check on line 296 will not be triggered. Furthermore, MetaDataBuilder.checkSize allows for user-entered HPACK header value sizes to be negative, potentially leading to a very large buffer allocation later on when the user-entered size is multiplied by 2. This means that if a user provides a negative length value (or, more precisely, a length value which, when multiplied by the 4/3 fudge factor, is negative), and this length value is a very large positive number when multiplied by 2, then the user can cause a very large buffer to be allocated on the server. Users of HTTP/2 can be impacted by a remote denial of service attack. The issue has been fixed in versions 11.0.16, 10.0.16, and 9.4.53. There are no known workarounds.