Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. marshmallow
  4. ›
  5. CVE-2018-17175

CVE-2018-17175: In marshmallow library the schema "only" option treats an empty list as implying no "only" option

October 10, 2018 (updated September 24, 2024)

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

Code Behaviors & Features

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 →

Affected versions

All versions starting from 3.0a0 before 3.0.0b9, all versions before 2.15.1

Fixed versions

  • 2.15.1
  • 3.0.0b9

Solution

Upgrade to versions 2.15.1, 3.0.0b9 or above.

Impact 5.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-358: Improperly Implemented Security Check for Standard

Source file

pypi/marshmallow/CVE-2018-17175.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.