VDB
Sign up
LOW

GHSA-vm69-474v-7q2w

Incorrect Default Permissions in Apache Commons FileUpload

Quick fix

GHSA-vm69-474v-7q2w — commons-fileupload:commons-fileupload: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.2.2</version> for commons-fileupload:commons-fileupload

Details

The default configuration of javax.servlet.context.tempdir in Apache Commons FileUpload 1.0 through 1.2.2 uses the /tmp directory for uploaded files, which allows local users to overwrite arbitrary files via an unspecified symlink attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/commons-fileupload:commons-fileupload
Introduced in: 1.0Fixed in: 1.2.2
Fix# pom.xml: bump <version>1.2.2</version> for commons-fileupload:commons-fileupload

References