// For flags

CVE-2022-31019

DoS Vulnerability in URLEncodedFormDecoder in Vapor

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Vapor is a server-side Swift HTTP web framework. When using automatic content decoding an attacker can craft a request body that can make the server crash with the following request: `curl -d "array[_0][0][array][_0][0][array]$(for f in $(seq 1100); do echo -n '[_0][0][array]'; done)[string][_0]=hello%20world" http://localhost:8080/foo`. The issue is unbounded, attacker controlled stack growth which will at some point lead to a stack overflow and a process crash. This issue has been fixed in version 4.61.1.

Vapor es un framework web Swift HTTP del lado del servidor. Cuando es usada la decodificación automática de contenido, un atacante puede diseñar un cuerpo de petición que puede hacer que el servidor se bloquee con la siguiente petición: "curl -d "array[_0][0][array][_0][array]$(for f in $(seq 1100); do echo -n "[_0][array]"; done)[string][_0]=hello%20world" http://localhost:8080/foo". El problema es el crecimiento ilimitado de la pila, controlado por el atacante, que en algún momento conllevará un desbordamiento de la pila y un bloqueo del proceso. Este problema ha sido corregido en versión 4.61.1

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-05-18 CVE Reserved
  • 2022-06-06 CVE Published
  • 2023-12-28 EPSS Updated
  • 2024-08-03 CVE Updated
  • 2024-08-03 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-674: Uncontrolled Recursion
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Vapor
Search vendor "Vapor"
Vapor
Search vendor "Vapor" for product "Vapor"
< 4.61.1
Search vendor "Vapor" for product "Vapor" and version " < 4.61.1"
-
Affected