-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[AMBARI-23109] Upgrading org.apache.httpcomponents:httpclient dependency to v4.5.5 due to security concerns #502
Conversation
…y to v4.5.5 due to security concerns
@rlevas @zeroflag @adoroszlai @dlysnichenko Please review this PR; thanks! |
@@ -527,16 +526,27 @@ | |||
<groupId>org.apache.ambari</groupId> | |||
<artifactId>ambari-metrics-common</artifactId> | |||
<version>${project.version}</version> | |||
<exclusions> | |||
<exclusion> | |||
<groupId>org.apache.httpcomponents</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure this is not needed for Metrics?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We directly depend on org.apache.httpcomponents:httpclient in ambari-funtest (see in lines 486-489):
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ ambari-funtest ---
[INFO] org.apache.ambari:ambari-funtest:jar:2.6.1.0.0
[INFO] \- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
The managed version (v4.5.5) will be available on the classpath so that Metrics can use its classes.
Refer to this link for build results (access rights to CI server needed): |
Can someone please merge this PR? Thanks! |
…cy to v4.5.5 due to security concerns (apache#502) (cherry picked from commit 33e1f57) Change-Id: Ie0f265ce4d28b8e5d850ff7f4709f810714fa101
What changes were proposed in this pull request?
Per CVE-2014-3577
Per CVE-2015-5262
So that we need to upgrade to a more recent version (>4.3.6); at the time of this issue is being fixed the latest one is 4.5.5
How was this patch tested?
After updating the affected pom.xml files I've done the following:
1.) Checking Maven's dependency resolution:
2.) I executed
mvn clean install
forambari-funtest
(using -am to build its local dependencies):As far as I know this project (ambari-funtest) is out of use currently.