Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Jetty Version to Align with Airlift HTTP Client and Server Updates to Address Security Vulnerabilities #22846

Open
siddhuoo7 opened this issue May 28, 2024 · 0 comments
Assignees

Comments

@siddhuoo7
Copy link

siddhuoo7 commented May 28, 2024

Summary

This issue tracks the upgrade of the Jetty version used in Presto to align with recent updates made in the Airlift HTTP client and server. The Jetty dependency version has been updated in the Airlift project to address security vulnerabilities and improve overall performance and stability.

Details

A pull request has been raised in the Airlift project to upgrade Jetty from version 9.4.14.v20181114 to 9.4.54.v20240208 to mitigate several security vulnerabilities and incorporate various improvements. To ensure compatibility and maintain security, we need to perform a similar upgrade in the Presto project.

Changes Required

  1. Remove Hardcoded Dependency Versions:
    Remove hardcoded Jetty dependency versions in individual module dependency management sections.

  2. Add Jetty BOM to Root POM:
    Add the following BOM to the root pom.xml to manage Jetty dependencies centrally:

    <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-bom</artifactId>
        <version>9.4.54.v20240208</version>
        <type>pom</type>
        <scope>import</scope>
    </dependency>

Security Vulnerabilities Addressed

Upgrading to the latest Jetty version addresses multiple security vulnerabilities, including but not limited to:

Improvements and Bug Fixes

In addition to security fixes, the latest Jetty version includes several performance improvements and bug fixes, such as:

  • Enhanced WebSocket handling
  • Improved HTTP/2 support and stability
  • Better compliance with HTTP standards
  • Various memory leak fixes
  • Performance optimizations and reduced CPU usage under high load
@siddhuoo7 siddhuoo7 added the bug label May 28, 2024
@tdcmeehan tdcmeehan self-assigned this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 Unprioritized
Status: 🆕 Unprioritized
Development

No branches or pull requests

3 participants