Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2024-31205
Analyzed
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-08 Apr, 2024 | 15:15
Updated At-07 Jan, 2026 | 20:05

Saleor is an e-commerce platform. Starting in version 3.10.0 and prior to versions 3.14.64, 3.15.39, 3.16.39, 3.17.35, 3.18.31, and 3.19.19, an attacker may bypass cross-set request forgery (CSRF) validation when calling refresh token mutation with empty string. When a user provides an empty string in `refreshToken` mutation, while the token persists in `JWT_REFRESH_TOKEN_COOKIE_NAME` cookie, application omits validation against CSRF token and returns valid access token. Versions 3.14.64, 3.15.39, 3.16.39, 3.17.35, 3.18.31, and 3.19.19 contain a patch for the issue. As a workaround, one may replace `saleor.graphql.account.mutations.authentication.refresh_token.py.get_refresh_token`. This will fix the issue, but be aware, that it returns `JWT_MISSING_TOKEN` instead of `JWT_INVALID_TOKEN`.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.14.2MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Primary3.15.4MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 4.2
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Type: Primary
Version: 3.1
Base score: 5.4
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CPE Matches

saleor
saleor
>>saleor>>Versions from 3.10.0(inclusive) to 3.14.64(exclusive)
cpe:2.3:a:saleor:saleor:*:*:*:*:*:*:*:*
saleor
saleor
>>saleor>>Versions from 3.15.0(inclusive) to 3.15.39(exclusive)
cpe:2.3:a:saleor:saleor:*:*:*:*:*:*:*:*
saleor
saleor
>>saleor>>Versions from 3.16.0(inclusive) to 3.16.39(exclusive)
cpe:2.3:a:saleor:saleor:*:*:*:*:*:*:*:*
saleor
saleor
>>saleor>>Versions from 3.17.0(inclusive) to 3.17.35(exclusive)
cpe:2.3:a:saleor:saleor:*:*:*:*:*:*:*:*
saleor
saleor
>>saleor>>Versions from 3.18.0(inclusive) to 3.18.31(exclusive)
cpe:2.3:a:saleor:saleor:*:*:*:*:*:*:*:*
saleor
saleor
>>saleor>>Versions from 3.19.0(inclusive) to 3.19.19(exclusive)
cpe:2.3:a:saleor:saleor:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-352Secondarysecurity-advisories@github.com
CWE ID: CWE-352
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/saleor/saleor/commit/36699c6f5c99590d24f46e3d5c5b1a3c2fd072e7security-advisories@github.com
Patch
https://github.com/saleor/saleor/security/advisories/GHSA-ff69-fwjf-3c9wsecurity-advisories@github.com
Mitigation
Patch
Vendor Advisory
https://github.com/saleor/saleor/commit/36699c6f5c99590d24f46e3d5c5b1a3c2fd072e7af854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/saleor/saleor/security/advisories/GHSA-ff69-fwjf-3c9waf854a3a-2127-422b-91ae-364da2661108
Mitigation
Patch
Vendor Advisory
Hyperlink: https://github.com/saleor/saleor/commit/36699c6f5c99590d24f46e3d5c5b1a3c2fd072e7
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/saleor/saleor/security/advisories/GHSA-ff69-fwjf-3c9w
Source: security-advisories@github.com
Resource:
Mitigation
Patch
Vendor Advisory
Hyperlink: https://github.com/saleor/saleor/commit/36699c6f5c99590d24f46e3d5c5b1a3c2fd072e7
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/saleor/saleor/security/advisories/GHSA-ff69-fwjf-3c9w
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Mitigation
Patch
Vendor Advisory
Change History
0Changes found

Details not found