Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
  • Support the projectPage
Back

CVE-2017-5638

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and…

Description

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

Exploited in the wild

CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Apache Struts Remote Code Execution Vulnerability.

Added
3 Nov 2021
Fix due (US federal)
3 May 2022
Used by ransomware
Known

Apply updates per vendor instructions.

ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 3 Nov 2021.

Public exploit

An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 2 Exploit-DB entries for it. 2 references of the record are tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.

Show the exploits6

Metasploit modules1 module

Nuclei templates1 template

Exploit-DB2 entries

References tagged exploit2 references

Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from

Timeline

  1. ID reserved

    By apache

  2. · 41 days later

    Published

  3. · 5 years later

    Added to CISA KEV

    Known exploited, also by ransomware

  4. · 4 years later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2017-5638, by who scored it
Scored byCVSSScoreVector
CISA-ADPADP (enrichment)3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Analyzed3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
100.0% · top 0.1% of all CVEs (9 Nov 2026)
CISA SSVC
Exploitation: active · Automatable: yes · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.

Affected products

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References

34

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2017-5638 badge
[![CVE-2017-5638](https://cveledger.app/badge/CVE-2017-5638.svg)](https://cveledger.app/cve/CVE-2017-5638)

Record last updated .