{"id":"GHSA-9q2p-fj49-vpxj","summary":"In marshmallow library the schema \"only\" option treats an empty list as implying no \"only\" option","details":"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\").","aliases":["CVE-2018-17175","PYSEC-2018-67"],"modified":"2024-09-24T20:22:34.141701Z","published":"2018-10-10T16:10:46Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:29:19Z","nvd_published_at":null,"cwe_ids":["CWE-358"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17175"},{"type":"WEB","url":"https://github.com/marshmallow-code/marshmallow/issues/772"},{"type":"WEB","url":"https://github.com/marshmallow-code/marshmallow/pull/777"},{"type":"WEB","url":"https://github.com/marshmallow-code/marshmallow/pull/782"},{"type":"PACKAGE","url":"https://github.com/marshmallow-code"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/marshmallow/PYSEC-2018-67.yaml"}],"affected":[{"package":{"name":"marshmallow","ecosystem":"PyPI","purl":"pkg:pypi/marshmallow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.15.1"}]}],"versions":["0.1.0","0.2.0","0.2.1","0.3.0","0.3.1","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6.0","0.7.0","1.0.0","1.0.0-a","1.0.1","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","2.0.0","2.0.0a1","2.0.0b1","2.0.0b2","2.0.0b3","2.0.0b4","2.0.0b5","2.0.0rc1","2.0.0rc2","2.1.0","2.1.1","2.1.2","2.1.3","2.10.0","2.10.1","2.10.2","2.10.3","2.10.4","2.10.5","2.11.0","2.11.1","2.12.0","2.12.1","2.12.2","2.13.0","2.13.1","2.13.2","2.13.3","2.13.4","2.13.5","2.13.6","2.14.0","2.15.0","2.2.0","2.2.1","2.3.0","2.4.0","2.4.1","2.4.2","2.5.0","2.6.0","2.6.1","2.7.0","2.7.1","2.7.2","2.7.3","2.8.0","2.9.0","2.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-9q2p-fj49-vpxj/GHSA-9q2p-fj49-vpxj.json"}},{"package":{"name":"marshmallow","ecosystem":"PyPI","purl":"pkg:pypi/marshmallow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0a0"},{"fixed":"3.0.0b9"}]}],"versions":["3.0.0a1","3.0.0b1","3.0.0b2","3.0.0b3","3.0.0b4","3.0.0b5","3.0.0b6","3.0.0b7","3.0.0b8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-9q2p-fj49-vpxj/GHSA-9q2p-fj49-vpxj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}