CVE-2016-1000031 Improper Access Control in commons-fileupload

Critical 9.8 Published Updated

Attackers can achieve remote code execution by exploiting unsafe deserialization in the Apache Commons FileUpload library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-1000031?

CVE-2016-1000031 is a critical unsafe deserialization vulnerability in n/a, published on 25 Oct 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Commons FileUpload before 1.3.3 DiskFileItem File Manipulation Remote Code Execution

Weakness: CWE-284

Which versions are affected by CVE-2016-1000031?

2 open source packages ship an affected version, including commons-fileupload:commons-fileupload. It affects 1 product.

PackageAffectedFixed in
commons-fileupload:commons-fileupload MavenAll versions1.3.3
commons-fileupload:commons-fileupload MavenAll versions1.3.3
Linux distribution packages (17)
jakarta-commons-fileupload SUSE:Enterprise Storage 4All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Module for Web and Scripting 15All versions1.1.1-4.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Module for Web and Scripting 15 SP1All versions1.1.1-4.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Point of Sale 11 SP3All versions1.1.1-1.37.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions1.1.1-1.37.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP2-BCLAll versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP3All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12 SP4All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server 12-LTSSAll versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.1.1-122.3.1
jakarta-commons-fileupload SUSE:OpenStack Cloud 7All versions1.1.1-122.3.1
jakarta-commons-fileupload openSUSE:Leap 15.0All versions1.1.1-lp150.2.3.1

Products include Apache Commons Fileupload.

How do I fix CVE-2016-1000031?

Upgrade commons-fileupload:commons-fileupload to 1.3.3 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2016-1000031 being exploited?

There is no known exploitation of CVE-2016-1000031 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-1000031, GHSA-7x9j-7223-rg5m, SUSE-SU-2019:1212-1, SUSE-SU-2019:1212-2, SUSE-SU-2019:1214-1, SUSE-SU-2019:14044-1 and 2 more.

Is CVE-2016-1000031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free