You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergio Sainz (Jira)" <ji...@apache.org> on 2022/10/24 19:46:00 UTC

[jira] [Commented] (FLINK-29235) CVE-2022-25857 on flink-shaded

    [ https://issues.apache.org/jira/browse/FLINK-29235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623369#comment-17623369 ] 

Sergio Sainz commented on FLINK-29235:
--------------------------------------

Hello [~chesnay] 

Noticed the flink-shaded-jackson v2.13.4-16.0 already has the fix (it uses jackson's own snakeyaml version which is 1.31). Could we upgrade flink-shaded version in flink version 1.16.0 to use 2.13.4-16.0?

[https://github.com/apache/flink/blob/release-1.16.0-rc2/pom.xml#L125]

```

        <flink.shaded.version>16.0</flink.shaded.version>
        <flink.shaded.jackson.version>2.13.4</flink.shaded.jackson.version>

```

 

ref:

[https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.13.4/jackson-dataformat-yaml-2.13.4.pom]

[https://repo1.maven.org/maven2/org/apache/flink/flink-shaded-jackson/2.13.4-16.0/flink-shaded-jackson-2.13.4-16.0.pom]

 

> CVE-2022-25857 on flink-shaded
> ------------------------------
>
>                 Key: FLINK-29235
>                 URL: https://issues.apache.org/jira/browse/FLINK-29235
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, BuildSystem / Shaded
>    Affects Versions: 1.15.2
>            Reporter: Sergio Sainz
>            Assignee: Chesnay Schepler
>            Priority: Major
>
> flink-shaded-version uses snakeyaml v1.29 which is vulnerable to CVE-2022-25857
> Ref:
> https://nvd.nist.gov/vuln/detail/CVE-2022-25857
> https://repo1.maven.org/maven2/org/apache/flink/flink-shaded-jackson/2.12.4-15.0/flink-shaded-jackson-2.12.4-15.0.pom
> https://github.com/apache/flink-shaded/blob/master/flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml#L73



--
This message was sent by Atlassian Jira
(v8.20.10#820010)