Project

General

Profile

Actions

Bug #12753

open

commons-upload 1.3.3 has known vulnerabilities

Added by Raf Pauwels 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/17/2024
Due date:
% Done:

0%

Estimated time:

Description

JWt includes and depends on commons-fileupload 1.3.3 in its Maven POM file. This is marked as having known vulnerabilities CVE-2016-1000031, CVE-2023-24998. Both are to my knowledge not applicable to JWt. Still, Maven dependency analysis software marks JWt as vulnerable because of transitive dependencies with known vulnerabilities.

This library is only used for the check isMultipartContent(). This method checks whether the request is a POST where the Content-Type starts with multipart/.

Does this usage warrant the inclusion of the entire commons-fileupload? Can we either upgrade the dependency, or remove it by implementing this method ourselves?

Actions #1

Updated by Raf Pauwels 5 months ago

Raf Pauwels wrote:

This library is only used for the check isMultipartContent().

Not sure why I thought that, but this is not true. So the best option would be to upgrade, IMO.

Actions

Also available in: Atom PDF