CVE-2017-0374 Code injection in libconfig-model-perl

High 7.8 Published Updated

Local attackers can execute arbitrary code and gain privileges by placing a crafted model file in the current working directory.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-0374?

CVE-2017-0374 is a high-severity code injection vulnerability in libconfig-model-perl, published on 23 May 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

lib/Config/Model.pm in Config-Model (aka libconfig-model-perl) before 2.102 allows local users to gain privileges via a crafted model in the current working directory, related to use of . with the INC array.

Which versions are affected by CVE-2017-0374?

It affects 1 product.

Products include Config-Model Project Config-Model.

How do I fix CVE-2017-0374?

Upgrade to a fixed version.

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

Is CVE-2017-0374 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-0374, GHSA-88hg-rvfq-4jp9, UBUNTU-CVE-2017-0374.

Is CVE-2017-0374 in your software?

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

Check your SBOMs for free