CVE-2020-15223: Github.com/ory/fosite Ory Fosite Contains Improper Handling Vulnerability
HIGHCVE-2020-15223 is a HIGH (CVSS 8.0) ory fosite contains improper handling vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Github.com/ory/fosite libraries in the Go ecosystem. The issue involves ory fosite contains improper handling of exceptional conditions. Remediation is available by upgrading affected packages to version 0.34.0.
CVE-2020-15223 at a Glance
Security Impact
CVSS: 8.0
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:R/S:C/C:H/I:H/A:N).
How to Fix CVE-2020-15223
To remediate this vulnerability, upgrade all affected Github.com/ory/fosite 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/ory/fosite to 0.34.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/ory/fosite
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15223, inspect your project dependencies for Github.com/ory/fosite:
inspect dependencies for github.com/ory/fosite
Analyze the terminal output to locate any version of Github.com/ory/fosite in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.34.0), 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-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Github.com/ory/fosite, 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-2020-15223 Affected Github.com/ory/fosite Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/ory/fosite
|
Go |
< 0.34.0
|
0.34.0
|
References
Frequently Asked Questions
What is CVE-2020-15223?
Which Github.com/ory/fosite versions are affected?
What version fixes CVE-2020-15223?
Is github.com/ory/fosite affected?
What is the CVSS score of CVE-2020-15223?
What CWE is associated with CVE-2020-15223?
How can I check Go dependencies for CVE-2020-15223?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7mqr-2v3q-v2wm",
"modified" : "2023-02-14T00:21:03Z",
"published" : "2021-05-24T16:57:39Z",
"aliases" : [ "CVE-2020-15223" ],
"summary" : "Ory fosite contains Improper Handling of Exceptional Conditions ",
"details" : "### Impact\nThe `TokenRevocationHandler` ignores errors coming from the storage. This can lead to unexpected 200 status codes indicating successful revocation while the token is still valid. Whether an attacker can use this for her advantage depends on the ability to trigger errors in the store.\n\n### References\n[RFC 7009](https://tools.ietf.org/html/rfc7009#section-2.2.1) states that a 503 HTTP code must be returned when the server has a problem.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/ory/fosite"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.34.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ory/fosite/security/advisories/GHSA-7mqr-2v3q-v2wm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15223"
}, {
"type" : "WEB",
"url" : "https://github.com/ory/fosite/commit/03dd55813f5521985f7dd64277b7ba0cf1441319"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2021-0109"
}, {
"type" : "WEB",
"url" : "https://tools.ietf.org/html/rfc7009#section-2.2.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-754", "CWE-755" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-24T12:53:07Z",
"nvd_published_at" : "2020-09-24T17:15:00Z"
}
}