Skip to content
Heist/ feed
Back to feed
High

Apache Struts: excessive disk usage

Type: advisorySources: OSV

When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-41835
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:52 UTC · Revision 1

Source evidence

Apache Struts: excessive disk usage

core-osv · Original source

Published 5 Dec 2023, 08:37 UTC

When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue.

osv:CVE-2023-41835
Complete source record
{
  "id": "5915db7445243cf30004726582c0fcb16deecd09e769c3b72eb9d42c54a51175",
  "url": "https://osv.dev/vulnerability/CVE-2023-41835",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Struts: excessive disk usage",
    "summary": "When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue.",
    "evidence": "osv:CVE-2023-41835",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-41835",
      "aliases": [
        "CVE-2023-41835",
        "GHSA-729q-fcgp-r5xh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/struts",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2c0a197cea8fdc7d8cda5eeaa15a1c76507ac0a5"
                },
                {
                  "fixed": "bfb6c5431b198ec9fafd7f4e4593a3b1e0c3a853"
                },
                {
                  "introduced": "28498a807d4741f1438aedf6da6a26fe8d20a97a"
                },
                {
                  "fixed": "236ae15c661659b3b06d6381941f95700fcb7e00"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.5.32"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.1.2.1"
                      },
                      {
                        "fixed": "6.3.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41835.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.892427355Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2",
        "https://www.openwall.com/lists/oss-security/2023/12/09/1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41835.json",
        "https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-41835",
        "https://security.netapp.com/advisory/ntap-20231013-0001/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-459"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "last_affected": "2.5.31"
                  },
                  {
                    "introduced": "6.1.2.1"
                  },
                  {
                    "last_affected": "6.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41835.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-41835",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506381,
  "published_at": "2023-12-05T08:37:31.602+00:00"
}