PyPi: Pytest-Yamltree

CVE-2017-18342

Transitive

Safety vulnerability ID: 41376

This vulnerability was reviewed by experts

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

Created at Jun 27, 2018 Updated at Dec 05, 2024
Scan your Python projects for vulnerabilities →

Advisory

Pytest-Yamltree 0.1.2 includes a security patch for the function 'init' in 'pytest_yamltree.py'. It used the unsafe yaml.load(), that allows instantiation of arbitrary objects. Consider yaml.safe_load().
https://github.com/MarSoft/pytest-yamltree/commit/d94031f134ab5803958aa8f33f965a30a241cf4b

Affected package

pytest-yamltree

Latest version: 0.1.2

Create or check file/directory trees described by YAML

Affected versions

Fixed versions

Vulnerability changelog

Pytest-Yamltree version 0.1.2 includes a security patch for the function 'init' in 'pytest_yamltree.py'. Use of unsafe yaml load. Allows instantiation of arbitrary objects. Consider yaml.safe_load(). See also: https://github.com/MarSoft/pytest-yamltree/commit/d94031f134ab5803958aa8f33f965a30a241cf4b

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

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

CVSS v2 Details

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