CVE-2018-17175
Marshmallow Project Marshmallow vulnerability
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 products
Marshmallow. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Marshmallow Project Marshmallow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/marshmallow-code/marshmallow/issues/772 · Third Party Advisory
- github.com/marshmallow-code/marshmallow/pull/777 · Third Party Advisory
- github.com/marshmallow-code/marshmallow/pull/782 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-17175
- github.com/pypa/advisory-database/tree/main/vulns/marshmallow/PYSEC-2018-67.yaml
- github.com/advisories/GHSA-9q2p-fj49-vpxj
- nvd.nist.gov/vuln/detail/CVE-2018-17175
- cve.org/CVERecord?id=CVE-2018-17175
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.