Skip to content

Commit d01e4eb

Browse files
authored
* Removed h2 as a dependency as it is not used and introduces a CVE (#6) Signed-off-by: Guian Gumpac <[email protected]> * Fixed CVE with suggested update Signed-off-by: Guian Gumpac <[email protected]> * Added to release notes Signed-off-by: Guian Gumpac <[email protected]> * Use CodeQL version before breaking change Signed-off-by: Guian Gumpac <[email protected]> * Added comment for codeql breaking change context Signed-off-by: Guian Gumpac <[email protected]> --------- Signed-off-by: Guian Gumpac <[email protected]>
1 parent fcfd0cc commit d01e4eb

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
uses: github/codeql-action/init@v2
3333
with:
3434
languages: ${{ matrix.language }}
35+
# using v2.13.3 due to a breaking change in codeql https://github.com/github/codeql/issues/13541
36+
tools: 'https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.13.3/codeql-bundle-linux64.tar.gz'
37+
3538
- name: Autobuild
3639
uses: github/codeql-action/autobuild@v2
3740
- name: Perform CodeQL Analysis

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
testImplementation('org.eclipse.jetty:jetty-server:11.0.14')
6060

6161
// Enforce wiremock to use latest guava and json-smart
62-
testImplementation('com.google.guava:guava:31.1-jre')
62+
testImplementation('com.google.guava:guava:32.0.1-jre')
6363
testImplementation('net.minidev:json-smart:2.4.9')
6464

6565
testRuntimeOnly('org.slf4j:slf4j-simple:1.7.25') // capture WireMock logging
@@ -69,7 +69,6 @@ dependencies {
6969
include '*.jar'
7070
builtBy 'compileJdbc'
7171
}
72-
testImplementation group: 'com.h2database', name: 'h2', version: '2.1.210'
7372
testImplementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.41.2.2'
7473
testImplementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
7574
}

release-notes/opensearch-jdbc-release-notes-1.4.0.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ connector-release-notes-1.0.0.0.md).
2121
* Bump version to 1.4. ([#86](https://github.com/opensearch-project/sql-jdbc/pull/86))
2222
* Update CI workflows. ([#87](https://github.com/opensearch-project/sql-jdbc/pull/87))
2323
* Update release notes. ([#88](https://github.com/opensearch-project/sql-jdbc/pull/88))
24+
* Fix H2 and guava CVEs. ([#96](https://github.com/opensearch-project/sql-jdbc/pull/96))

0 commit comments

Comments
 (0)