GHSA-vq59-5x26-h639
Authorization Bypass Through User-Controlled Key play-with-docker
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/play-with-docker/play-with-docker | <= 0.0.2 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
Impact
Give that CORS configuration was not correct, an attacker could use [play-with-docker.com](http://play-with-docker.com/) as an example, set origin header in http request as [evil-play-with-docker.com](http://evil-play-with-docker.com/), it will be echo in response header, which successfully bypass the CORS policy and retrieves basic user information.
Patches
It has been fixed in lastest version, Please upgrade to latest version
Workarounds
No, users have to upgrade version.
References
External links from the advisory. They lead to third-party sites.