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

🔐 Update dependencies to fix vulnerabilities #54

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions doc/changes/changes_2.0.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Virtual Schema for Document Data in Files on Google Cloud Storage 2.0.3, released 2024-??-??

Code name: Fixed vulnerabilities CVE-2024-23081, CVE-2024-23082

## Summary

This release fixes the following 2 vulnerabilities:

### CVE-2024-23081 (CWE-476) in dependency `org.threeten:threetenbp:jar:1.6.8:compile`
ThreeTen Backport v1.6.8 was discovered to contain a NullPointerException via the component org.threeten.bp.LocalDate::compareTo(ChronoLocalDate).
#### References
* https://ossindex.sonatype.org/vulnerability/CVE-2024-23081?component-type=maven&component-name=org.threeten%2Fthreetenbp&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
* http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-23081
* https://gist.github.com/LLM4IG/3cc9183dcd887020368a0bafeafec5e3

### CVE-2024-23082 (CWE-190) in dependency `org.threeten:threetenbp:jar:1.6.8:compile`
ThreeTen Backport v1.6.8 was discovered to contain an integer overflow via the component org.threeten.bp.format.DateTimeFormatter::parse(CharSequence, ParsePosition).
#### References
* https://ossindex.sonatype.org/vulnerability/CVE-2024-23082?component-type=maven&component-name=org.threeten%2Fthreetenbp&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
* http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-23082
* https://gist.github.com/LLM4IG/d2618f5f4e5ac37eb75cff5617e58b90

## Security

* #52: Fixed vulnerability CVE-2024-23081 in dependency `org.threeten:threetenbp:jar:1.6.8:compile`
* #53: Fixed vulnerability CVE-2024-23082 in dependency `org.threeten:threetenbp:jar:1.6.8:compile`

## Dependency Updates

### Test Dependency Updates

* Updated `com.exasol:udf-debugging-java:0.6.12` to `0.6.13`
4 changes: 2 additions & 2 deletions doc/user_guide/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Next create the Adapter Script:
```sql
CREATE OR REPLACE JAVA ADAPTER SCRIPT ADAPTER.GOOGLE_CLOUD_STORAGE_FILES_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-google-cloud-storage-2.0.2.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-google-cloud-storage-2.0.3.jar;
/
```

Expand All @@ -30,7 +30,7 @@ CREATE OR REPLACE JAVA SET SCRIPT ADAPTER.IMPORT_FROM_GOOGLE_CLOUD_STORAGE_DOCUM
CONNECTION_NAME VARCHAR(500))
EMITS(...) AS
%scriptclass com.exasol.adapter.document.UdfEntryPoint;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-google-cloud-storage-2.0.2.jar;
%jar /buckets/bfsdefault/default/document-files-virtual-schema-dist-8.0.3-google-cloud-storage-2.0.3.jar;
/
```

Expand Down
2 changes: 1 addition & 1 deletion pk_generated_parent.pom

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>google-cloud-storage-document-files-virtual-schema</artifactId>
<version>2.0.2</version>
<version>2.0.3</version>
<name>Virtual Schema for document data in files on Google Cloud Storage</name>
<description>Adapter for document data access from files from Google Cloud Storage.</description>
<url>https://github.com/exasol/google-cloud-storage-document-files-virtual-schema/</url>
Expand Down Expand Up @@ -97,7 +97,7 @@
<dependency>
<groupId>com.exasol</groupId>
<artifactId>udf-debugging-java</artifactId>
<version>0.6.12</version>
<version>0.6.13</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -189,7 +189,7 @@
<parent>
<artifactId>google-cloud-storage-document-files-virtual-schema-generated-parent</artifactId>
<groupId>com.exasol</groupId>
<version>2.0.2</version>
<version>2.0.3</version>
<relativePath>pk_generated_parent.pom</relativePath>
</parent>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public class IntegrationTestSetup implements AutoCloseable {
private static final Logger LOG = Logger.getLogger(IntegrationTestSetup.class.getName());

private static final String ADAPTER_JAR = "document-files-virtual-schema-dist-8.0.3-google-cloud-storage-2.0.2.jar";
private static final String ADAPTER_JAR = "document-files-virtual-schema-dist-8.0.3-google-cloud-storage-2.0.3.jar";
private final ExasolTestSetup exasolTestSetup;
private final Connection connection;
private final Statement statement;
Expand Down