CVE-2022-39267: Github.com/brokercap/Bifrost Authentication Bypass Vulnerability
HIGHCVE-2022-39267 is a HIGH (CVSS 8.8) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Github.com/brokercap/Bifrost libraries in the Go ecosystem. The issue involves bifrost vulnerable to authentication check flaw that leads to authentication bypass. Remediation is available by upgrading affected packages to version 1.8.7-release.
CVE-2022-39267 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-39267
To remediate this vulnerability, upgrade all affected Github.com/brokercap/Bifrost 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/brokercap/Bifrost to 1.8.7-release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/brokercap/Bifrost
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-39267, inspect your project dependencies for Github.com/brokercap/Bifrost:
inspect dependencies for github.com/brokercap/Bifrost
Analyze the terminal output to locate any version of Github.com/brokercap/Bifrost in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.7-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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/brokercap/Bifrost, 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-2022-39267 Affected Github.com/brokercap/Bifrost Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/brokercap/Bifrost
|
Go |
< 1.8.7-release
|
1.8.7-release
|
References
Frequently Asked Questions
What is CVE-2022-39267?
Which Github.com/brokercap/Bifrost versions are affected?
What version fixes CVE-2022-39267?
Is github.com/brokercap/Bifrost affected?
What is the CVSS score of CVE-2022-39267?
What CWE is associated with CVE-2022-39267?
How can I check Go dependencies for CVE-2022-39267?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mxrx-fg8p-5p5j",
"modified" : "2022-10-21T13:03:47Z",
"published" : "2022-10-18T19:57:50Z",
"aliases" : [ "CVE-2022-39267" ],
"summary" : "Bifrost vulnerable to authentication check flaw that leads to authentication bypass",
"details" : "### Impact\nThe admin and monitor user groups need to be authenticated by username and password. If we delete the X-Requested-With: XMLHttpRequest field in the request header,the authentication will be bypassed.\n\n### Patches\nhttps://github.com/brockercap/Bifrost/pull/201\n\n### Workarounds\nUpgrade to the latest version",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/brokercap/Bifrost"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.7-release"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/brokercap/Bifrost/security/advisories/GHSA-mxrx-fg8p-5p5j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39267"
}, {
"type" : "WEB",
"url" : "https://github.com/brockercap/Bifrost/pull/201"
}, {
"type" : "WEB",
"url" : "https://github.com/brokercap/Bifrost/commit/63da5c8eb7eb21639ea7ac199fe10b5e07b03a8a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/brokercap/Bifrost"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-18T19:57:50Z",
"nvd_published_at" : "2022-10-19T13:15:00Z"
}
}