Skip to content

Transitive dependency on commons-io 2.2, which is vulnerable #488

@bogdanb

Description

@bogdanb

Serverless Java Container version: 1.9

Implementations: Spring Boot 2

Framework version: SpringBoot 2.6.6

Frontend service: N/A

Deployment method: N/A

Scenario

I’m using com.amazonaws.serverless:aws-serverless-java-container-springboot2:1.9 in a project, built using Gradle if it matters. This pulls in commons-io:2.2 via the following chain:

  • (root project)
  • com.amazonaws.serverless:aws-serverless-java-container-springboot2:1.9
  • com.amazonaws.serverless:aws-serverless-java-container-core:1.9
  • commons-fileupload:commons-fileupload:1.4
  • commons-io:commons-io:2.2

The release notes for version 1.8 contain the claim:

Explicitly set commons-io version to 2.11.0 to avoid older transitive dependency version (CVE-2021-29425)

But that does not seem to work. I actually looked through the pom.xml files for both 1.8 and 1.9 and I can’t find any trace of this. Maybe a relevant commit was accidentally dropped?

Metadata

Metadata

Assignees

Labels

CVECritical security vulnerability in dependencies

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions