CVE-2021-22150 Kibana code execution issue

Medium 6.6 Published Updated

A Fleet admin can upload a malicious package to execute commands on the Kibana server due to insecure YAML parsing.

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

What is CVE-2021-22150?

CVE-2021-22150 is a medium-severity code injection vulnerability in Elastic Kibana, published on 22 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

It was discovered that a user with Fleet admin permissions could upload a malicious package. Due to using an older version of the js-yaml library, this package would be loaded in an insecure manner, allowing an attacker to execute commands on the Kibana server.

Weakness: CWE-94

Which versions are affected by CVE-2021-22150?

It affects 1 product.

Products include Elastic Kibana.

How do I fix CVE-2021-22150?

No fix has been published for CVE-2021-22150 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-2021-22150 being exploited?

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

All Elastic Kibana vulnerabilities

Sources

Also known as GHSA-534g-6jq4-vq89.

Is CVE-2021-22150 in your software?

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

Check your SBOMs for free