CVE-2018-17175: In marshmallow library the schema "only" option treats an empty list as implying no "only" option
(updated )
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”).
References
- github.com/advisories/GHSA-9q2p-fj49-vpxj
- github.com/marshmallow-code
- github.com/marshmallow-code/marshmallow/issues/772
- github.com/marshmallow-code/marshmallow/pull/777
- github.com/marshmallow-code/marshmallow/pull/782
- github.com/pypa/advisory-database/tree/main/vulns/marshmallow/PYSEC-2018-67.yaml
- nvd.nist.gov/vuln/detail/CVE-2018-17175
Detect and mitigate CVE-2018-17175 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →