CVE-2018-17175
In marshmallow library the schema "only" option treats an empty list as implying no "only" option
5.3
MEDIUM
CVSS 3.1
EPSS 0.26%
Description
In the marshmallow library before 2.15.1 and 3.x before 3.0.0b9 for Python, the schema "only" option treats an empty list as implying no "only" option, which allows a request that was intended to expose no fields to instead expose all fields (if the schema is being filtered dynamically using the "only" option, and there is a user role that produces an empty value for "only").
How to fix CVE-2018-17175
To remediate CVE-2018-17175, upgrade the affected package to a fixed version below.
- —upgrade to 3.0.0b14-1 or later
- —upgrade to 2.15.1 or later
- —upgrade to 2.15.1 or later
Is CVE-2018-17175 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.0.0b14-1
- from 0, < 2.15.1
- from 0, < 2.15.1, >= 3.0a0, < 3.0.0b9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |