Skip to content

Commit

Permalink
Merge pull request #1845 from tqtu/MSF-23046
Browse files Browse the repository at this point in the history
FEATURE: MSF-23046 fix log4j issue CVE-2021-44228

Reviewed-by: <[email protected]>
             https://github.com/phong-nguyen-duy
  • Loading branch information
gdgate authored Mar 14, 2022
2 parents cd737a4 + 92e3a3f commit 27a8385
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
7 changes: 3 additions & 4 deletions ci/redshift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
<version>1.11.633</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>compile</scope>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.2</version>
</dependency>
</dependencies>

Expand Down
Empty file.
15 changes: 0 additions & 15 deletions lib/gooddata/cloud_resources/redshift/drivers/log4j.properties

This file was deleted.

2 changes: 0 additions & 2 deletions lib/gooddata/cloud_resources/redshift/redshift_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def initialize(options = {})
@debug = options['debug'] == true || options['debug'] == 'true'

Java.com.amazon.redshift.jdbc42.Driver
base = Pathname(__FILE__).dirname
org.apache.log4j.PropertyConfigurator.configure("#{base}/drivers/log4j.properties")
end

def realize_query(query, _params)
Expand Down

0 comments on commit 27a8385

Please sign in to comment.