ADVISORIES

openEuler Security Advisory

OESA-2023-1155

apache-commons-fileupload security update

Details

The javax.servlet package lacks support for RFC-1867, HTML file upload. This package provides a simple to use API for working with such data. The scope of this package is to create a package of Java utility classes to read multipart/form-data within a javax.servlet.http.HttpServletRequest.

Security Fix(es):

Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.(CVE-2023-24998)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1apache-commons-fileupload
All versions before 1.4-2.oe1 (fixed in 1.4-2.oe1)
openEuler:20.03-LTS-SP3apache-commons-fileupload
All versions before 1.4-2.oe1 (fixed in 1.4-2.oe1)
openEuler:22.03-LTSapache-commons-fileupload
All versions before 1.4-2.oe2203sp1 (fixed in 1.4-2.oe2203sp1)
openEuler:22.03-LTS-SP1apache-commons-fileupload
All versions before 1.4-2.oe2203sp1 (fixed in 1.4-2.oe2203sp1)

References