CVEvulnerability
CVE-2018-17175
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-09-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 5.3 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
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").
Affected configurations
• marshmallow project marshmallow (< 2.15.1)
• marshmallow project marshmallow (>= 3.0 < 3.0.0b9)
References
- https://github.com/marshmallow-code/marshmallow/issues/772 Issue Tracking, Third Party Advisory
- https://github.com/marshmallow-code/marshmallow/pull/777 Third Party Advisory
- https://github.com/marshmallow-code/marshmallow/pull/782 Third Party Advisory
- https://github.com/marshmallow-code/marshmallow/issues/772 Issue Tracking, Third Party Advisory
- https://github.com/marshmallow-code/marshmallow/pull/777 Third Party Advisory
- https://github.com/marshmallow-code/marshmallow/pull/782 Third Party Advisory