CVE-2023-26051: Saleor Staff-Authenticated Error Message Information Disclosure Vulnerability
Summary
CVE-2023-26051: Saleor has Staff-Authenticated Error Message Information Disclosure Vulnerability via Python Exceptions. Affects saleor across 6 version ranges.
>= 2.0.0, < 3.1.48
>= 3.7.0, < 3.7.59
>= 3.8.0, < 3.8.30
>= 3.9.0, < 3.9.27
>= 3.10.0, < 3.10.14
>= 3.11.0, < 3.11.12
Fixed in 6 releases; the minimum fixed version depends on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Saleor is an open-source e-commerce solution built using Python and Django, designed to provide a flexible and customizable platform for online stores. It offers features such as product management, order processing, and customer engagement tools. However, Saleor has a vulnerability that allows sensitive information to be disclosed through unhandled Python exceptions in staff-authenticated requests.
Vulnerability Detail
The vulnerability arises from the improper handling of certain internal Python exceptions, which can lead to sensitive information being returned in API error messages. Specifically, these messages may inadvertently expose user email addresses when staff members make authenticated requests. This could potentially allow unauthorized access to sensitive user data, posing a significant security risk.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 2.0.0, < 3.1.483.1.48pip install --upgrade "saleor==3.1.48" -
>= 3.7.0, < 3.7.593.7.59pip install --upgrade "saleor==3.7.59" -
>= 3.8.0, < 3.8.303.8.30pip install --upgrade "saleor==3.8.30" -
>= 3.9.0, < 3.9.273.9.27pip install --upgrade "saleor==3.9.27" -
>= 3.10.0, < 3.10.143.10.14pip install --upgrade "saleor==3.10.14" -
>= 3.11.0, < 3.11.123.11.12pip install --upgrade "saleor==3.11.12"
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There are no workarounds available for this vulnerability. It is recommended to update to a patched version as soon as possible.
Conclusion
The Saleor package has a significant vulnerability that can lead to the disclosure of sensitive information through unhandled exceptions in API error messages. It is essential to update to the latest patched versions to mitigate this risk and protect user data.
See every vulnerability recorded for saleor →
FAQ
CVE-2023-26051 is a vulnerability in the Saleor package that allows sensitive information to be disclosed through unhandled Python exceptions in API error messages.
Versions of Saleor prior to 3.1.48, 3.7.59, 3.8.30, 3.9.27, 3.10.14, and 3.11.12 are affected by this vulnerability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
There are no workarounds available for this vulnerability, so it is crucial to prioritize updating to a patched version.
The CVSS score of this vulnerability is 6.5, indicating a moderate level of severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for saleor.