GHSA-vq59-5x26-h639

Suggest an improvement
Source
https://github.com/advisories/GHSA-vq59-5x26-h639
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-vq59-5x26-h639/GHSA-vq59-5x26-h639.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vq59-5x26-h639
Aliases
Related
Published
2023-03-17T14:43:12Z
Modified
2023-11-01T05:01:39.169910Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2023-03-16T17:15:00Z",
    "github_reviewed_at": "2023-03-17T14:43:12Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-639"
    ]
}
References

Affected packages

Go / github.com/play-with-docker/play-with-docker

Package

Name
github.com/play-with-docker/play-with-docker
View open source insights on deps.dev
Purl
pkg:golang/github.com/play-with-docker/play-with-docker

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.2