CVE-2021-0265 Contrail Insights: The REST API implementation allows an unauthenticated remote attacker to execute commands as root.

High 8.1 Published Updated

Unauthenticated attackers can execute arbitrary commands as root via the REST API, gaining full control of the host.

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-2021-0265?

CVE-2021-0265 is a high-severity command injection vulnerability in Juniper Networks Contrail Insights, published on 22 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An unvalidated REST API in the AppFormix Agent of Juniper Networks AppFormix allows an unauthenticated remote attacker to execute commands as root on the host running the AppFormix Agent, when certain preconditions are performed by the attacker, thus granting the attacker full control over the environment. This issue affects: Juniper Networks AppFormix 3 versions prior to 3.1.22, 3.2.14, 3.3.0.

Weakness: CWE-78

Which versions are affected by CVE-2021-0265?

It affects 1 product.

Products include Juniper Appformix.

How do I fix CVE-2021-0265?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-0265 being exploited?

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

Sources

Also known as GHSA-gx7h-7ppr-fp8w.

Is CVE-2021-0265 in your software?

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

Check your SBOMs for free