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

HIVE-26914:Upgrade postgresql to 42.5.1 due to CVE-2022-41946 #3927

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

devaspatikrishnatri
Copy link
Contributor

What changes were proposed in this pull request?

upgrading postgresql from 42.4.1 to 42.5.1

Why are the changes needed?

To fix cve CVE-2022-41946

Does this PR introduce any user-facing change?

No

How was this patch tested?

I build hive locally on my machine then upgraded the occureneces of postgresql , rebuilt hive with new changes and have pasted the dependency tree in apache jira for the same confirming that all occurences of postgresql were upgraded.

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

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

Hello @devaspatikrishnatri . Thank you for the patch. I see there is a related test failure in TestBeelineArgParsing#testAddLocalJarWithoutAddDriverClazz():

http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3927/1/tests

This is because the test has an expectation to find the driver jar with a specific version:

https://github.com/apache/hive/blob/master/beeline/src/test/org/apache/hive/beeline/TestBeelineArgParsing.java#L116-L118

Can you please update the test too?

@sonarcloud
Copy link

sonarcloud bot commented Jan 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

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

@devaspatikrishnatri , thank you for updating the patch. +1 (non-binding), pending successful CI run.

@dengzhhu653 dengzhhu653 merged commit badc3a0 into apache:master Feb 10, 2023
amanraj2520 pushed a commit to amanraj2520/hive that referenced this pull request Apr 4, 2023
…shnatri, reviewed by Chris Nauroth, Zhihua Deng)

(cherry picked from commit badc3a0)
yeahyung pushed a commit to yeahyung/hive that referenced this pull request Jul 20, 2023
…shnatri, reviewed by Chris Nauroth, Zhihua Deng)
tarak271 pushed a commit to tarak271/hive-1 that referenced this pull request Dec 19, 2023
…shnatri, reviewed by Chris Nauroth, Zhihua Deng)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants