Skip to content

Unsafe deserialization in confire

Critical severity GitHub Reviewed Published Jul 18, 2018 to the GitHub Advisory Database • Updated Sep 5, 2023

Package

pip confire (pip)

Affected versions

<= 0.2.0

Patched versions

None

Description

An exploitable vulnerability exists in the YAML parsing functionality in config.py in Confire 0.2.0. Due to the user-specific configuration being loaded from "~/.confire.yaml" using the yaml.load function, a YAML parser can execute arbitrary Python commands resulting in command execution. An attacker can insert Python into loaded YAML to trigger this vulnerability.

References

Published to the GitHub Advisory Database Jul 18, 2018
Reviewed Jun 16, 2020
Last updated Sep 5, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

No CWEs

CVE ID

CVE-2017-16763

GHSA ID

GHSA-m85c-9mf8-m2m6

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.