CVE-2018-17175
MEDIUM 5.3CVSS 3.0In marshmallow library the schema "only" option treats an empty list as implying no "only" option
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").
- Published
- 18 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-358
- Also known as
- GHSA-9q2p-fj49-vpxjPYSEC-2018-67
- Sources
- NVDJSONOSV GHSA-9q2p-fj49-vpxjJSONOSV PYSEC-2018-67JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | marshmallow_project | marshmallowcpe:2.3:a:marshmallow_project:marshmallow:*:*:*:*:*:*:*:* |
< 2.15.1 | 2.15.1 |
| NVD | marshmallow_project | marshmallowcpe:2.3:a:marshmallow_project:marshmallow:*:*:*:*:*:python:*:* |
>= 3.0, < 3.0.0b9 | 3.0.0b9 |
| OSV | PyPI | marshmallow | < 2.15.1 | 2.15.1 |
| OSV | PyPI | marshmallow | >= 3.0a0, < 3.0.0b9 | 3.0.0b9 |
| OSV | PyPI | marshmallow | < 2.15.1; >= 3.0a0, < 3.0.0b9 | 2.15.1, 3.0.0b9 |
References
- https://github.com/marshmallow-code/marshmallow/issues/772 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/marshmallow-code/marshmallow/pull/777 · Third Party Advisory, WEB
- https://github.com/marshmallow-code/marshmallow/pull/782 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-17175 · ADVISORY
- https://github.com/marshmallow-code · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/marshmallow/PYSEC-2018-67.yaml · WEB
- https://github.com/advisories/GHSA-9q2p-fj49-vpxj · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 18 Sep 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Sep 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Oct 2018)