org.apache.struts:struts2-core@6.1.2

  • latest version

    7.4.0

  • latest non vulnerable version

  • first published

    19 years ago

  • latest version published

    17 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.struts:struts2-core package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Allocation of Resources Without Limits or Throttling

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the JSON plugin when handling JSON request bodies. An attacker can cause excessive memory consumption by sending a large JSON payload, potentially leading to service disruption for other users.

    Note: This is only exploitable if the application is configured to populate actions from a JSON request body using the JSON plugin.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.apache.struts:struts2-core to version 6.11.0, 7.3.0 or higher.

    [,6.11.0)[7.0.0,7.3.0)
    • H
    Allocation of Resources Without Limits or Throttling

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the endpoint that collects Content Security Policy violation reports. An attacker can cause excessive memory consumption and disrupt service availability by submitting a large, unbounded report payload.

    Note: This is only exploitable if the application exposes such an endpoint for collecting violation reports.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.apache.struts:struts2-core to version 6.11.0, 7.3.0 or higher.

    [,6.11.0)[7.0.0,7.3.0)
    • H
    Allocation of Resources Without Limits or Throttling

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the handling of the localized-text cache. An attacker can exhaust system memory and deny service to legitimate users by sending requests with varying locales, causing unbounded cache growth.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.apache.struts:struts2-core to version 6.11.0, 7.3.0 or higher.

    [,6.11.0)[7.0.0,7.3.0)
    • H
    Incomplete Cleanup

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Incomplete Cleanup in the multipart request processing in the file parameters in OGNL-mapped Value Object. An attacker can cause disk exhaustion by repeatedly sending crafted requests that trigger file leaks.

    Note: CVE-2025-66675 is a duplicate of CVE-2025-64775

    How to fix Incomplete Cleanup?

    Upgrade org.apache.struts:struts2-core to version 6.8.0, 7.1.1 or higher.

    [,6.8.0)[7.0.0,7.1.1)
    • C
    Remote Code Execution (RCE)

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Remote Code Execution (RCE) via manipulation of file upload parameters that enable path traversal. When using FileUploadInterceptor, uploading of a malicious file is possible, which may then be executed on the server.

    Notes:

    This is only exploitable if the application uses FileUploadInterceptor;

    Version 6.4.0 deprecates FileUploadInterceptor, but to fix the vulnerability its use must be replaced by an instance of Action File Upload and the corresponding interceptor. FileUploadInterceptor has been removed in 7.0.0.

    How to fix Remote Code Execution (RCE)?

    Upgrade org.apache.struts:struts2-core to version 7.0.0 or higher.

    [,7.0.0)
    • C
    Remote Code Execution (RCE)

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Remote Code Execution (RCE) via manipulation of file upload parameters that enable path traversal. Under certain conditions, uploading of a malicious file is possible, which may then be executed on the server.

    How to fix Remote Code Execution (RCE)?

    Upgrade org.apache.struts:struts2-core to version 2.5.33, 6.3.0.2 or higher.

    [,2.5.33)[6.0.0,6.3.0.2)
    • M
    Denial of Service (DoS)

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Denial of Service (DoS) when certain fields exceed the maxStringLength limit during multipart requests. An attacker can exploit this to leave uploaded files in the struts.multipart.saveDir even after the request has been denied resulting in excessive disk usage.

    How to fix Denial of Service (DoS)?

    Upgrade org.apache.struts:struts2-core to version 2.5.32, 6.1.2.2, 6.3.0.1 or higher.

    [,2.5.32)[6.0.0,6.1.2.2)[6.2.0,6.3.0.1)
    • H
    Allocation of Resources Without Limits or Throttling

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when it loads non-file regular form fields from a Multipart request into memory as Strings without verifying their sizes.

    This vulnerability can be exploited if a developer has set struts.multipart.maxSize to a value equal to or greater than the available memory.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.apache.struts:struts2-core to version 2.5.31, 6.1.2.1 or higher.

    [2.0.0,2.5.31)[6.0.0,6.1.2.1)
    • M
    Allocation of Resources Without Limits or Throttling

    org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to improper handling of getProperty() by the XWorkListPropertyAccessor class. Exploiting this vulnerability is possible if the developer has set CreateIfNull to true for the underlying Collection type field.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.apache.struts:struts2-core to version 2.5.31, 6.1.2.1 or higher.

    [2.0.0,2.5.31)[6.1.2,6.1.2.1)