{"answers":{"affected":"2 open source packages ship an affected version, including commons-fileupload:commons-fileupload. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-1000031 in the wild and no public exploit code.","fix":"Upgrade commons-fileupload:commons-fileupload to 1.3.3 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2016-1000031 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2016-1000031 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- commons-fileupload:commons-fileupload (Maven): affected all versions; fixed in 1.3.3\n- commons-fileupload:commons-fileupload (Maven): affected all versions; fixed in 1.3.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-1000031/ (Markdown: https://insights.sbomify.com/CVE-2016-1000031/index.md)","id":"CVE-2016-1000031","markdown":"https://insights.sbomify.com/CVE-2016-1000031/index.md","name":"CVE-2016-1000031","record":{"aliases":["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","UBUNTU-CVE-2016-1000031","openSUSE-SU-2019:1399-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java file upload library","requires_auth":"none","summary":"Attackers can achieve remote code execution by exploiting unsafe deserialization in the Apache Commons FileUpload library.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"commons_fileupload","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"Apache Commons FileUpload before 1.3.3 DiskFileItem File Manipulation Remote Code Execution","ecosystems":["Maven","SUSE:Enterprise Storage 4","SUSE:Linux Enterprise Module for Web and Scripting 15","SUSE:Linux Enterprise Module for Web and Scripting 15 SP1","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:OpenStack Cloud 7","openSUSE:Leap 15.0"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Access Control in commons-fileupload","id":"CVE-2016-1000031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2016"},"n_packages":19,"n_references":24,"next":{"headline":"Business logic in n/a","id":"CVE-2016-1000032"},"packages":[{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"commons-fileupload:commons-fileupload","purl":null,"source":"GHSA-7x9j-7223-rg5m"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"commons-fileupload:commons-fileupload","purl":"pkg:maven/commons-fileupload/commons-fileupload","source":"GHSA-7x9j-7223-rg5m"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15","fixed":["1.1.1-4.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015","source":"SUSE-SU-2019:1212-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP1","fixed":["1.1.1-4.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP1","source":"SUSE-SU-2019:1212-2"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["1.1.1-1.37.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2019:14044-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["1.1.1-1.37.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2019:14044-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSS","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["1.1.1-122.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2019:1214-1"},{"ecosystem":"openSUSE:Leap 15.0","fixed":["1.1.1-lp150.2.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/opensuse/jakarta-commons-fileupload\u0026distro=openSUSE%20Leap%2015.0","source":"openSUSE-SU-2019:1399-1"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2016-1000030"},"products":["n/a"],"published":"2016-10-25","related":[{"cvss_score":7.5,"headline":"Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers","id":"CVE-2025-48976","kev_date_added":null,"published":"2025-06-16"},{"cvss_score":7.5,"headline":"Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts","id":"CVE-2023-24998","kev_date_added":null,"published":"2023-02-20"},{"cvss_score":7.5,"headline":"High severity vulnerability that affects commons-fileupload:commons-fileupload","id":"CVE-2016-3092","kev_date_added":null,"published":"2016-07-04"},{"cvss_score":7.5,"headline":"Commons FileUpload Denial of service vulnerability","id":"CVE-2014-0050","kev_date_added":null,"published":"2014-03-28"},{"cvss_score":6.8,"headline":"Incorrect Default Permissions in Apache Commons FileUpload","id":"CVE-2013-0248","kev_date_added":null,"published":"2013-03-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["n/a"]},"summary":"Attackers can achieve remote code execution by exploiting unsafe deserialization in the Apache Commons FileUpload library.","url":"https://insights.sbomify.com/CVE-2016-1000031/"}