[Bug]: jackson-databind version upgrade to remediate security vulnerabilities

未关闭
#9,528 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
security

调研方向

从 Core 模块的依赖声明开始,确定 jackson-databind 的选择位置。将其更新到所请求的修复版本 2.8.9,然后运行 Core 模块的相关测试,并验证已解析的依赖项中不再存在该漏洞。

由索引模型根据 Issue 内容生成。

描述

type/bug
Module

Core

Testcontainers version

1.20.3

Using the latest Testcontainers version?

Yes

Host OS

Osx

Host Arch

amd64

Docker version
docker version
Client:
 Version:           26.1.4
 API version:       1.45
 Go version:        go1.21.11
 Git commit:        5650f9b
 Built:             Wed Jun  5 11:26:02 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.31.0 (153195)
 Engine:
  Version:          26.1.4
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.11
  Git commit:       de5c9cf
  Built:            Wed Jun  5 11:29:12 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.33
  GitCommit:        d2d58213f83a351ca8f528a95fbd145f5654e957
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
What happened?

jackson-databind is vulnerable to CVE-2017-7525 which is patched with version 2.8.9 https://github.com/FasterXML/jackson-databind/issues/1599. Please upgrade to version 2.8.9 in the next release. Enterprises may blacklist test-containers due to the presence of this vulnerability. Also note issue: https://github.com/testcontainers/testcontainers-java/issues/9289 should be addressed in the next major release as well.

Relevant log output

Additional Information

No response

主要语言
Java
星标
8.8k
派生
2k
平均合并
2 天 1 小时
30 天内合并 PR
11

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

testcontainers/testcontainers-java 的其他 Issue

查看 testcontainers/testcontainers-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。