CVE-2023-28109: Github.com/play with docker/play with docker Authorization Bypass Through User-Controlled Key Vulnerability
MODERATECVE-2023-28109 is a MODERATE (CVSS 6.5) authorization bypass through user-controlled key vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Github.com/play with docker/play with docker libraries in the Go ecosystem. The issue involves authorization bypass through user-controlled key play-with-docker. Remediation is available in the latest vendor maintenance releases.
CVE-2023-28109 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-28109
To remediate this vulnerability, upgrade all affected Github.com/play with docker/play with docker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/play-with-docker/play-with-docker to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/play-with-docker/play-with-docker
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-28109, inspect your project dependencies for Github.com/play with docker/play with docker:
inspect dependencies for github.com/play-with-docker/play-with-docker
Analyze the terminal output to locate any version of Github.com/play with docker/play with docker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Github.com/play with docker/play with docker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-28109 Affected Github.com/play with docker/play with docker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/play-with-docker/play-with-docker
|
Go |
≤ 0.0.2
|
|
References
Frequently Asked Questions
What is CVE-2023-28109?
Which Github.com/play with docker/play with docker versions are affected?
What version fixes CVE-2023-28109?
Is github.com/play-with-docker/play-with-docker affected?
What is the CVSS score of CVE-2023-28109?
What CWE is associated with CVE-2023-28109?
How can I check Go dependencies for CVE-2023-28109?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vq59-5x26-h639",
"modified" : "2023-03-17T14:43:12Z",
"published" : "2023-03-17T14:43:12Z",
"aliases" : [ "CVE-2023-28109" ],
"summary" : "Authorization Bypass Through User-Controlled Key play-with-docker",
"details" : "Impact\nGive 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.\n\nPatches\nIt has been fixed in lastest version, Please upgrade to latest version\n\nWorkarounds\nNo, users have to upgrade version.\n\n\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/play-with-docker/play-with-docker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/play-with-docker/play-with-docker/security/advisories/GHSA-vq59-5x26-h639"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-28109"
}, {
"type" : "WEB",
"url" : "https://github.com/play-with-docker/play-with-docker/commit/ed82247c9ab7990ad76ec2bf1498c2b2830b6f1a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/play-with-docker/play-with-docker"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-17T14:43:12Z",
"nvd_published_at" : "2023-03-16T17:15:00Z"
}
}