PyPi: Marshmallow

CVE-2018-17175

Safety vulnerability ID: 36496

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 18, 2018 Updated at Dec 03, 2024
Scan your Python projects for vulnerabilities →

Advisory

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 package

marshmallow

Latest version: 3.23.1

A lightweight library for converting complex datatypes to and from native Python datatypes.

Affected versions

Fixed versions

Vulnerability changelog

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").


MISC:https://github.com/marshmallow-code/marshmallow/issues/772: https://github.com/marshmallow-code/marshmallow/issues/772
MISC:https://github.com/marshmallow-code/marshmallow/pull/777: https://github.com/marshmallow-code/marshmallow/pull/777
MISC:https://github.com/marshmallow-code/marshmallow/pull/782: https://github.com/marshmallow-code/marshmallow/pull/782

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 5.3

CVSS v3 Details

MEDIUM 5.3
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
NONE
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 5.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
NONE
Availability Impact (A)
NONE