CVE-2013-0248Apache Commons Fileupload
Medium 6.8
Follow: this CVE · Apache · Apache Commons Fileupload We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 58
- Auth required
- Yes
- Published
- Mar 15, 2013
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Commons Fileupload.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | commons-fileupload:commons-fileupload |
≥ 1.0 < 1.2.2 |
1.2.2 |
— |
Per OSV / GitHub Advisories (GHSA-vm69-474v-7q2w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_fileupload | 1.0 |
| apache | commons_fileupload | 1.1 |
| apache | commons_fileupload | 1.1.1 |
| apache | commons_fileupload | 1.2 |
| apache | commons_fileupload | 1.2.1 |
| apache | commons_fileupload | 1.2.2 |
Official sources
References
Links published by the sources. Open them with care.