GitHub Advisory Database
GHSA-vq59-5x26-h639
Authorization Bypass Through User-Controlled Key play-with-docker
Details
Impact Give that CORS configuration was not correct, an attacker could use play-with-docker.com as an example, set origin header in http request as 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/play-with-docker/play-with-docker | All versions up to and including 0.0.2 |