Code Monkey home page Code Monkey logo

bigquery-virtual-schema's People

Contributors

anastasiiasergienko avatar chiaradiamarcelo avatar ckunki avatar github-actions[bot] avatar jakobbraun avatar kaklakariada avatar pj-spoelders avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rohankumardubey

bigquery-virtual-schema's Issues

๐Ÿ” CVE-2024-23082: org.threeten:threetenbp:jar:1.6.8:test

Dependency upgrade

See log messages from build job Dependency Check:

Excluded vulnerabilities:

BigQuery date converted to Exasol VARCHAR(10)

Situation

When loading a table from BigQuery that contains a DATE, on the Exasol side it results in a VARCHAR instead of a DATE.

Example:
DATE value "09.01.2020" on BigQuery turned to a VARCHAR(10) UTF8 in Exasol.

TS(9) support in BigQuery VS

Situation

We need to support nanosecond timestamp resolution.

Acceptance Criteria

  • An integration test against Exasol 8 proves that TS(9) is supported

Fix CVE-2023-42503 in test dependency `org.apache.commons:commons-compress`

 Error:  Failed to execute goal org.sonatype.ossindex.maven:ossindex-maven-plugin:3.2.0:audit (default-cli) on project bigquery-virtual-schema: Detected 2 vulnerable components:
Error:    org.apache.commons:commons-compress:jar:1.22:test; https://ossindex.sonatype.org/component/pkg:maven/org.apache.commons/[email protected]?utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:      * [CVE-2023-42503] CWE-20: Improper Input Validation (5.5); https://ossindex.sonatype.org/vulnerability/CVE-2023-42503?component-type=maven&component-name=org.apache.commons%2Fcommons-compress&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:    io.netty:netty-handler:jar:4.1.94.Final:test; https://ossindex.sonatype.org/component/pkg:maven/io.netty/[email protected]?utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:      * [CVE-2023-4586] CWE-300: Channel Accessible by Non-Endpoint ('Man-in-the-Middle') (6.5); https://ossindex.sonatype.org/vulnerability/CVE-2023-4586?component-type=maven&component-name=io.netty%2Fnetty-handler&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1

Check if dialect can support the recently added functions

Situation

We have added a few new functions to the common part recently.
We need to check if some dialects could support them. The list of the new function capabilities to check:

  • FN_BIT_LROTATE -> not supported
  • FN_BIT_RROTATE -> not supported
  • FN_BIT_LSHIFT -> added
  • FN_BIT_RSHIFT -> added
  • FN_FROM_POSIX_TIME -> not supported
  • FN_HOUR -> not supported
  • FN_INITCAP -> added
  • FN_AGG_EVERY -> not supported
  • FN_AGG_SOME -> not supported
  • FN_AGG_MUL_DISTINCT -> not supported
  • FN_PRED_IS_JSON -> not supported
  • FN_PRED_IS_NOT_JSON -> not supported
  • FN_HASHTYPE_MD5 -> not supported
  • FN_HASHTYPE_SHA1 -> not supported
  • FN_HASHTYPE_SHA256 -> not supported
  • FN_HASHTYPE_SHA512 -> not supported
  • FN_HASHTYPE_TIGER -> not supported
  • FN_AGG_MUL -> not supported
  • FN_JSON_VALUE -> function is supported, but doesn't cover all the functionality that Exasol has, so we will skip it
  • FN_MIN_SCALE -> not supported
  • FN_AGG_LISTAGG -> not supported
  • FN_AGG_LISTAGG_DISTINCT -> not supported
  • FN_AGG_LISTAGG_SEPARATOR -> not supported
  • FN_AGG_LISTAGG_ON_OVERFLOW_ERROR -> not supported
  • FN_AGG_LISTAGG_ON_OVERFLOW_TRUNCATE -> not supported
  • FN_AGG_LISTAGG_ORDER_BY -> not supported
  • FN_AGG_COUNT_TUPLE -> not supported

๐Ÿ” CVE-2024-29025: io.netty:netty-codec-http:jar:4.1.100.Final:test

Summary

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The HttpPostRequestDecoder can be tricked to accumulate data. While the decoder can store items on the disk if configured so, there are no limits to the number of fields the form can have, an attacher can send a chunked post consisting of many small fields that will be accumulated in the bodyListHttpData list. The decoder cumulates bytes in the undecodedChunk buffer until it can decode a field, this field can cumulate data without limits. This vulnerability is fixed in 4.1.108.Final.

CVE: CVE-2024-29025
CWE: CWE-770

References

Fix vulnerabilities in org.apache.commons:commons-compress:jar:1.24.0:test

 Error:  Failed to execute goal org.sonatype.ossindex.maven:ossindex-maven-plugin:3.2.0:audit (default-cli) on project bigquery-virtual-schema: Detected 1 vulnerable components:
Error:    org.apache.commons:commons-compress:jar:1.24.0:test; https://ossindex.sonatype.org/component/pkg:maven/org.apache.commons/[email protected]?utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:      * [CVE-2024-25710] CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') (8.1); https://ossindex.sonatype.org/vulnerability/CVE-2024-25710?component-type=maven&component-name=org.apache.commons%2Fcommons-compress&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:      * [CVE-2024-26308] CWE-770: Allocation of Resources Without Limits or Throttling (7.5); https://ossindex.sonatype.org/vulnerability/CVE-2024-26308?component-type=maven&component-name=org.apache.commons%2Fcommons-compress&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1

๐Ÿ” CVE-2024-23081: org.threeten:threetenbp:jar:1.6.8:test

Fix vulnerabilities

Additionally check if the following currently excluded vulnerabilities need to remain so

Update to VSCJDBC 10.0.1

Update dependencies to use enhanced Datatype Detection For Result Sets from virtual-schemas-common-jdbc

Dependency check fails

See https://github.com/exasol/bigquery-virtual-schema/actions/runs/4867663879/jobs/8680444060

Error:  Failed to execute goal org.sonatype.ossindex.maven:ossindex-maven-plugin:3.2.0:audit (default-cli) on project bigquery-virtual-schema: Detected 1 vulnerable components:
Error:    com.google.guava:guava:jar:31.1-jre:test; https://ossindex.sonatype.org/component/pkg:maven/com.google.guava/[email protected]?utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:      * [CVE-2020-8908] CWE-379: Creation of Temporary File in Directory with Incorrect Permissions (6.2); https://ossindex.sonatype.org/vulnerability/CVE-2020-8908?component-type=maven&component-name=com.google.guava%2Fguava&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
Error:  

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.