Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability on Swift 5.1.x < 5.1.5 #1500

Open
mbarnach opened this issue Mar 13, 2020 · 0 comments
Open

Vulnerability on Swift 5.1.x < 5.1.5 #1500

mbarnach opened this issue Mar 13, 2020 · 0 comments

Comments

@mbarnach
Copy link
Member

Context and Description

The Swift team disclose a security issue in Swift >=5.1 < 5.1.5 about the JSON serialization.
A Kitura app build with such version is vulnerable to a DDOS.
The Swift version 5.1.5 fixes it: https://forums.swift.org/t/swift-5-1-5-for-linux/34478

This is not a Kitura specific problem, but worth a mention I think, maybe in the README?

Environment Details

Swift 5.1x. < 5.1.5, Linux only

Steps to Reproduce

  1. create an endpoint that accept a payload
  2. send a payload with a lot of '['
  3. compile on Linux with Swift 5.1 < 5.1.5
  4. observe the crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant