GHSA-pqwh-c2f3-vxmq

Source
https://github.com/advisories/GHSA-pqwh-c2f3-vxmq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-pqwh-c2f3-vxmq/GHSA-pqwh-c2f3-vxmq.json
Aliases
Published
2023-06-09T19:31:54Z
Modified
2023-11-08T04:05:59.103665Z
Details

Impact

A bug in the Data.init(base32Encoded:) function opens up the potential for exposing server memory and/or crashing the server (Denial of Service) for applications where untrusted data can end up in said function. Vapor does not currently use this function itself so this only impact applications that use the impacted function directly or through other dependencies.

Patches

This issue has been patched in 4.47.2.

Workarounds

Use an alternative to Vapor's built-in Data.init(base32Encoded:).

For more information

If you have any questions or comments about this advisory: * Open an issue in Vapor * Ask in Discord

References

Affected packages

SwiftURL / github.com/vapor/vapor

Package

Name
github.com/vapor/vapor

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
4.47.2