原始 OSV JSON
{
"id": "GHSA-m2jr-hmc3-qmpr",
"aliases": [
"CVE-2020-26223"
],
"details": "### Impact\nThe perpetrator could query the [API v2 Order Status](https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status) endpoint with an empty string passed as an Order token\n\n### Patches\nPlease upgrade to 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.\n\n### References\nPull request with a fix and in-depth explanation - https://github.com/spree/spree/pull/10573\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [[email protected]](mailto:[email protected])",
"summary": "Authorization bypass in Spree",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.7.0"
},
{
"fixed": "3.7.13"
}
]
}
],
"package": {
"name": "spree_api",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.5"
}
]
}
],
"package": {
"name": "spree_api",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.12"
}
]
}
],
"package": {
"name": "spree_api",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-05-16T16:19:18Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
}
],
"published": "2020-11-13T17:18:22Z",
"references": [
{
"url": "https://github.com/spree/spree/security/advisories/GHSA-m2jr-hmc3-qmpr",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26223",
"type": "ADVISORY"
},
{
"url": "https://github.com/spree/spree/pull/10573",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_api/CVE-2020-26223.yml",
"type": "WEB"
},
{
"url": "https://github.com/spree/spree",
"type": "PACKAGE"
},
{
"url": "https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status",
"type": "WEB"
},
{
"url": "https://rubygems.org/gems/spree_api/versions",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-11-13T17:18:00Z"
}
}