GHSA-2r2v-9pf8-6342: Github.com/h44z/wg portal WireGuard Portal V2 Vulnerable To Vulnerability
HIGHGHSA-2r2v-9pf8-6342 is a HIGH wireguard portal v2 vulnerable to vulnerability (General Security Weakness) affecting Github.com/h44z/wg portal libraries in the Go ecosystem. The issue involves wireguard portal v2 vulnerable to oauth insecure redirect uri / account takeover. Remediation is available by upgrading affected packages to version 2.0.0-alpha.3.
GHSA-2r2v-9pf8-6342 at a Glance
How to Fix GHSA-2r2v-9pf8-6342
To remediate this vulnerability, upgrade all affected Github.com/h44z/wg portal 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/h44z/wg-portal to 2.0.0-alpha.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/h44z/wg-portal
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2r2v-9pf8-6342, inspect your project dependencies for Github.com/h44z/wg portal:
inspect dependencies for github.com/h44z/wg-portal
Analyze the terminal output to locate any version of Github.com/h44z/wg portal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0-alpha.3), 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 General Security Weakness. In Github.com/h44z/wg portal, 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
GHSA-2r2v-9pf8-6342 Affected Github.com/h44z/wg portal Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/h44z/wg-portal
|
Go |
≥ 2.0.0-alpha.1
< 2.0.0-alpha.3
|
2.0.0-alpha.3
|
References
Frequently Asked Questions
What is GHSA-2r2v-9pf8-6342?
Which Github.com/h44z/wg portal versions are affected?
What version fixes GHSA-2r2v-9pf8-6342?
Is github.com/h44z/wg-portal affected?
What CWE is associated with GHSA-2r2v-9pf8-6342?
How can I check Go dependencies for GHSA-2r2v-9pf8-6342?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2r2v-9pf8-6342",
"modified" : "2025-01-07T15:52:16Z",
"published" : "2025-01-07T15:52:16Z",
"aliases" : [ ],
"summary" : "WireGuard Portal v2 Vulnerable to OAuth Insecure Redirect URI / Account Takeover",
"details" : "### Impact\nUsers of WireGuard Portal v2 who have OAuth (or OIDC) authentication backends enabled can be affected by an Account Takeover vulnerability if they visit a malicious website.\n\n### Patches\nThe problem was fixed in the latest alpha release, v2.0.0-alpha.3. The [docker images](https://hub.docker.com/r/wgportal/wg-portal) for the tag 'latest' built from the master branch also include the fix.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/h44z/wg-portal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-alpha.1"
}, {
"fixed" : "2.0.0-alpha.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/h44z/wg-portal/security/advisories/GHSA-2r2v-9pf8-6342"
}, {
"type" : "WEB",
"url" : "https://github.com/h44z/wg-portal/commit/62dbdfe0f96045d46e121d509fc181fbb7936895"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/h44z/wg-portal"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-07T15:52:16Z",
"nvd_published_at" : null
}
}