MEDIUM6.5
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](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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/play-with-docker/play-with-docker
Introduced in:
0No fixed version published yet for github.com/play-with-docker/play-with-docker (go modules). Pin to a known-safe version or switch to an alternative.
References
- https://github.com/play-with-docker/play-with-docker/security/advisories/GHSA-vq59-5x26-h639[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-28109[ADVISORY]
- https://github.com/play-with-docker/play-with-docker/commit/ed82247c9ab7990ad76ec2bf1498c2b2830b6f1a[WEB]
- https://github.com/play-with-docker/play-with-docker[PACKAGE]