Skip to content

[GHSA-jc7r-v6fg-2gpf] Apache CXF TLS hostname verification does not work correctly with com.sun.net.ssl.* #5669

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

Conversation

ebickle
Copy link

@ebickle ebickle commented May 29, 2025

Updates

  • Affected products

Comments
The code for the vulnerability is contained within the cxf-rt-transports-http package.

The commit for the fix is here apache/cxf@fae6fab which shows code changes within the /rt/transports/http directory. That directory contains a pom.xml (https://github.com/apache/cxf/blob/fae6fabf9bd7647f5e9cb68897a7d72b545b741b/rt/transports/http/pom.xml) file with an artifactId of "cxf-rt-transports-http".

https://repo1.maven.org/maven2/org/apache/cxf/cxf/3.2.7/ shows that the "org.apache.cxf:cxf" package does not contain any binary files and https://repo1.maven.org/maven2/org/apache/cxf/cxf/3.2.7/cxf-3.2.7.pom shows pom - it's a Maven POM file only and not binary code.

For that reason, I've left "org.apache.cxf:apache-cxf" as a vulnerable dependency (likely a 'bundle' package) but replaced "org.apache.cxf:cxf" with "org.apache.cxf:cxf-rt-transports-http".

Our application had a "false negative" where the vulnerability wasn't showing up - we directly depended on cxf-rt-transports-http and weren't using the bundled distribution package.

@Copilot Copilot AI review requested due to automatic review settings May 29, 2025 17:25
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR corrects the Maven coordinates for the vulnerable CXF component and updates the advisory's modified timestamp.

  • Updated the modified field to reflect the latest change time.
  • Replaced occurrences of org.apache.cxf:cxf with org.apache.cxf:cxf-rt-transports-http.

@github-actions github-actions bot changed the base branch from main to ebickle/advisory-improvement-5669 May 29, 2025 17:26
@advisory-database advisory-database bot merged commit 11a26db into ebickle/advisory-improvement-5669 May 29, 2025
4 checks passed
@advisory-database
Copy link
Contributor

Hi @ebickle! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

@advisory-database advisory-database bot deleted the ebickle-GHSA-jc7r-v6fg-2gpf branch May 29, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant