CVE-2017-16763 Unsafe deserialization in confire

Critical 9.8 Published Updated

Attackers can execute arbitrary Python code by inserting malicious payloads into the user-specific YAML configuration file loaded by the Confire library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-16763?

CVE-2017-16763 is a critical code injection vulnerability in n/a, published on 10 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2017-16763?

3 open source packages ship an affected version, including confire. It affects 1 product.

PackageAffectedFixed in
confire PyPIAll versions to 0.2.0None
confire PyPIAll versions to 0.2.0None
confire PyPIFrom 0.1.0None

Products include Confire Project Confire.

How do I fix CVE-2017-16763?

No fix has been published for CVE-2017-16763 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2017-16763 being exploited?

There is no known exploitation of CVE-2017-16763 in the wild and no public exploit code.

Sources

Also known as GHSA-m85c-9mf8-m2m6, PYSEC-2017-78.

Is CVE-2017-16763 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free