Vulnerabilities in pkg:golang/github.com/openshift/osin
PACKAGECVE-2021-4294 is a MODERATE (CVSS 5.9) openshift osin vulnerable to observable vulnerability (CWE-203: Observable Discrepancy) affecting Github.com/openshift/osin libraries in the Go ecosystem. The issue involves openshift osin vulnerable to observable timing discrepancy. Remediation is available by upgrading affected packages to version 1.0.2-0.20210113124101-8612686d6dda.
pkg:golang/github.com/openshift/osin
Vulnerability advisories affecting package pkg:golang/github.com/openshift/osin. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m7qp-cj9p-gj85 | CVE-2021-4294 | MODERATE | OpenShift OSIN vulnerable to Observable Timing Discrepancy |
CVE-2021-4294 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2021-4294
To remediate this vulnerability, upgrade all affected Github.com/openshift/osin 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/openshift/osin to 1.0.2-0.20210113124101-8612686d6dda
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openshift/osin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-4294, inspect your project dependencies for Github.com/openshift/osin:
inspect dependencies for github.com/openshift/osin
Analyze the terminal output to locate any version of Github.com/openshift/osin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.2-0.20210113124101-8612686d6dda), 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-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Github.com/openshift/osin, 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-2021-4294 Affected Github.com/openshift/osin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openshift/osin
|
Go |
< 1.0.2-0.20210113124101-8612686d6dda
|
1.0.2-0.20210113124101-8612686d6dda
|
References
Frequently Asked Questions
What is CVE-2021-4294?
Which Github.com/openshift/osin versions are affected?
What version fixes CVE-2021-4294?
Is github.com/openshift/osin affected?
What is the CVSS score of CVE-2021-4294?
What CWE is associated with CVE-2021-4294?
How can I check Go dependencies for CVE-2021-4294?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m7qp-cj9p-gj85",
"modified" : "2024-03-01T14:23:07Z",
"published" : "2022-12-28T18:30:20Z",
"aliases" : [ "CVE-2021-4294" ],
"summary" : "OpenShift OSIN vulnerable to Observable Timing Discrepancy",
"details" : "A vulnerability was found in OpenShift OSIN. It has been classified as problematic. This affects the function `ClientSecretMatches/CheckClientSecret`. The manipulation of the argument secret leads to observable timing discrepancy. The name of the patch is 8612686d6dda34ae9ef6b5a974e4b7accb4fea29. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-216987.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openshift/osin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.2-0.20210113124101-8612686d6dda"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-4294"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/osin/pull/200"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/osin/commit/8612686d6dda34ae9ef6b5a974e4b7accb4fea29"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openshift/osin"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-1201"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.216987"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.216987"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203", "CWE-208" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T21:50:04Z",
"nvd_published_at" : "2022-12-28T17:15:00Z"
}
}