Skip to content

Presto JDBC driver needs to upgrade Jackson libraries to 2.16.0 due to various CVE's #21717

@dqmdev

Description

@dqmdev

Latest Presto JDBC driver (0.285) appears to still be using Jackson 2.10, which is old.

There are several well-publicized CVE's against this version of Jackson, notably:

  1. com.fasterxml.jackson.core_jackson-core package versions before 2.15.0 are vulnerable to Denial of Service (DoS).
    PRISMA-2023-0067
    Add numeric value size limits via StreamReadConstraints (fixes sonatype-2022-6438) -- default 1000 chars FasterXML/jackson-core#827
    PRISMA-2023-0068
    Trim tokens in error messages to 256 byte to prevent attacks FasterXML/jackson-core#322
    PRISMA-2023-0069
    OutOfMemoryError when writing BigDecimal FasterXML/jackson-core#315

  2. CVE-2023-35116: jackson-databind is vulnerable to denial of service, fixed in Jackson 2.16.0
    https://nvd.nist.gov/vuln/detail/CVE-2023-35116

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 Unprioritized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions