{"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-2013-0248 in the wild and no public exploit code.","fix":"Upgrade commons-fileupload:commons-fileupload to 1.2.2 or later.","what":"CVE-2013-0248 is a medium-severity path traversal vulnerability in n/a, published on 15 Mar 2013. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-0248 and fix it if it is affected.\n\nWhat it is: CVE-2013-0248 is a medium-severity path traversal vulnerability in n/a, published on 15 Mar 2013. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-0248 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- commons-fileupload:commons-fileupload (Maven): affected from 1.0; fixed in 1.2.2\n- commons-fileupload:commons-fileupload (Maven): affected from 1.0; fixed in 1.2.2\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-2013-0248/ (Markdown: https://insights.sbomify.com/CVE-2013-0248/index.md)","id":"CVE-2013-0248","markdown":"https://insights.sbomify.com/CVE-2013-0248/index.md","name":"CVE-2013-0248","record":{"aliases":["DEBIAN-CVE-2013-0248","GHSA-vm69-474v-7q2w"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java file upload library","requires_auth":"none","summary":"Local attackers can overwrite arbitrary files via symlink attacks due to insecure default temporary directory usage in Apache Commons FileUpload.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"commons_fileupload","vendor":"apache"}],"cvss":{"score":6.8,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-264","name":null},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"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.","ecosystems":["Maven"],"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":"Incorrect Default Permissions in Apache Commons FileUpload","id":"CVE-2013-0248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2013"},"n_packages":2,"n_references":6,"next":{"headline":"Memory corruption in n/a","id":"CVE-2013-0249"},"packages":[{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["1.0"],"last_affected":[],"package":"commons-fileupload:commons-fileupload","purl":null,"source":"GHSA-vm69-474v-7q2w"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["1.0"],"last_affected":[],"package":"commons-fileupload:commons-fileupload","purl":"pkg:maven/commons-fileupload/commons-fileupload","source":"GHSA-vm69-474v-7q2w"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2013-0247"},"products":["n/a"],"published":"2013-03-15","related":[{"cvss_score":9.8,"headline":"Improper Access Control in commons-fileupload","id":"CVE-2016-1000031","kev_date_added":null,"published":"2016-10-25"},{"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"}],"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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["n/a"]},"summary":"Local attackers can overwrite arbitrary files via symlink attacks due to insecure default temporary directory usage in Apache Commons FileUpload.","url":"https://insights.sbomify.com/CVE-2013-0248/"}