org.springframework:spring-webmvc@7.0.6

  • latest version

    7.0.10

  • latest non vulnerable version

  • first published

    20 years ago

  • latest version published

    19 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework:spring-webmvc 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
    • L
    Improper Neutralization

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Improper Neutralization in the ServerResponse.sse process. An attacker can corrupt the data stream sent to other users by injecting malicious or malformed data into the stream when the application uses plain text messages and the attacker controls the streamed data. This is only exploitable if the application uses Spring MVC's functional web framework, streams data using Server Sent Events (SSE), does not use a structured message format like JSON, and allows an attacker to control the streamed data.

    How to fix Improper Neutralization?

    Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

    [5.3.0,7.0.9)
    • M
    Open Redirect

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Open Redirect in the UrlHandlerFilter process when it is configured with very broadly matching patterns. An attacker can redirect users to arbitrary external sites by crafting a specially constructed URL.

    How to fix Open Redirect?

    Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

    [6.2.0,7.0.9)
    • M
    Open Redirect

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Open Redirect in the UrlFileNameViewController file when it is mapped with an end-of-path and lacks a configured prefix. An attacker can redirect users to arbitrary external URLs by crafting a specially constructed request.

    How to fix Open Redirect?

    Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

    [,7.0.9)
    • C
    Arbitrary Code Injection

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the XsltView file when an application has a /** mapping that results in view rendering and the view name is not explicitly specified. An attacker can execute arbitrary code or make unauthorized network requests by supplying crafted input to manipulate the view resolution process.

    Note: This is only exploitable if the application is configured with a /** mapping that triggers view rendering without explicitly specifying the view name.

    How to fix Arbitrary Code Injection?

    Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

    [,7.0.9)
    • M
    Cross-site Scripting (XSS)

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when sending view fragments over Server-Sent Events (SSE). An attacker can cause data streams to be corrupted and potentially inject malicious information to other users by controlling the data that is streamed to clients.

    Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, sends view fragments via SSE, and the attacker can control the streamed data.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

    [6.2.0,7.0.9)
    • M
    HTTP Request Smuggling

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to HTTP Request Smuggling. via multipart request parsing discrepancies between Spring MVC/WebFlux and intermediary security devices. An attacker can bypass Web Application Firewall (WAF) or proxy security controls by sending crafted multipart requests that are interpreted differently by the intermediary and the Spring application, allowing malicious content to evade inspection and reach the backend application.

    How to fix HTTP Request Smuggling?

    Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

    [5.3.0,6.0.0)[6.1.0-M1,6.2.19)[7.0.0-M1,7.0.8)
    • H
    Allocation of Resources Without Limits or Throttling

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via static resource resolution when versioned resource support is enabled. An attacker can cause denial of service by sending crafted requests that trigger expensive resource resolution operations against filesystem-backed static resources. Repeated requests can consume server resources and keep HTTP connections occupied for extended periods, potentially degrading performance or rendering the application unavailable.

    Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, serves static resources from the filesystem, and has versioned resource support enabled.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

    [5.3.0,6.0.0)[6.1.0-M1,6.2.19)[7.0.0-M1,7.0.8)
    • H
    Direct Request ('Forced Browsing')

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Direct Request ('Forced Browsing') via shared caching of static resource resolutions across resource handlers. An attacker can gain unauthorized access to protected resources when a shared cache stores a resource resolution result from a publicly accessible handler and subsequently reuses it for a protected handler serving a resource with the same name. This can cause resources that should require authentication to be served without proper access control checks.

    Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, configures multiple resource handlers with different resource locations, protects at least one handler with authentication, and uses a shared cache for resource resolution.

    How to fix Direct Request ('Forced Browsing')?

    Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

    [5.3.0,6.0.0)[6.1.0-M1,6.2.19)[7.0.0-M1,7.0.8)
    • M
    Open Redirect

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Open Redirect via view resolution for "/**" mappings without an explicitly specified view name. An attacker can trigger an open redirect by crafting a URL that causes the application to interpret user-controlled input as a view name with the redirect: prefix, resulting in a redirect to an arbitrary external host.

    Note: In Spring MVC applications with the same configuration, an attacker can also trigger an internal forward using the forward: prefix.

    How to fix Open Redirect?

    Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

    [5.3.0,6.0.0)[6.1.0-M1,6.2.19)[7.0.0-M1,7.0.8)
    • H
    Directory Traversal

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Directory Traversal via static resource resolution when versioned resource support is enabled. An attacker can perform path traversal and access files outside the configured static resource locations by sending crafted requests that abuse the versioned resource resolution mechanism.

    Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, serves static resources from the filesystem, has versioned resource support enabled, and the attacker knows or can guess metadata associated with targeted resources.

    How to fix Directory Traversal?

    Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

    [5.3.0,6.0.0)[6.1.0-M1,6.2.19)[7.0.0-M1,7.0.8)
    • M
    Cross-site Scripting (XSS)

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via user-controlled values in the cssClass, cssErrorClass, or cssStyle attributes of JSP <form:*> tags. An attacker can inject arbitrary HTML or JavaScript into rendered pages by supplying crafted values for these attributes, potentially leading to cross-site scripting (XSS) and execution of malicious code in the browser of affected users.

    Note: This is only exploitable if the application uses user-controlled input to populate the affected JSP form tag attributes.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

    [5.3.0,6.0.0)[6.1.0-M1,6.2.19)[7.0.0-M1,7.0.8)
    • L
    HTTP Request Smuggling

    org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

    Affected versions of this package are vulnerable to HTTP Request Smuggling via the static resource resolution and caching mechanism. An attacker can poison the resource cache by sending crafted requests that cause resources to be cached with incorrect encodings when resource chain caching and encoded resource resolution are enabled. This can lead to denial of service by breaking front-end resource loading for subsequent clients.

    Note: This is only exploitable if all the following is true:

    1. The application is configuring the resource chain support with caching enabled.

    2. The application adds support for encoded resource resolution.

    3. The resource cache must be empty when the attacker has access to the application.

    How to fix HTTP Request Smuggling?

    Upgrade org.springframework:spring-webmvc to version 6.2.18, 7.0.7 or higher.

    [,6.2.18)[7.0.0-M1,7.0.7)