CVE-2021-26544 Apache Livy (Incubating) is vulnerable to cross site scripting

Medium 5.4 Published Updated

A cross-site scripting vulnerability in Apache Livy allows attackers to access other users' session logs and execute jobs with their privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-26544?

CVE-2021-26544 is a medium-severity cross-site scripting vulnerability in Apache Livy (Incubating), published on 20 Feb 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Livy server version 0.7.0-incubating (only) is vulnerable to a cross site scripting issue in the session name. A malicious user could use this flaw to access logs and results of other users' sessions and run jobs with their privileges. This issue is fixed in Livy 0.7.1-incubating.

Weakness: CWE-79

Which versions are affected by CVE-2021-26544?

2 open source packages ship an affected version, including org.apache.livy:livy-server. It affects 1 product.

PackageAffectedFixed in
org.apache.livy:livy-server MavenFrom 0.7.0-incubating0.7.1-incubating
org.apache.livy:livy-server MavenFrom 0.7.0-incubating0.7.1-incubating

Products include Apache Livy.

How do I fix CVE-2021-26544?

Upgrade org.apache.livy:livy-server to 0.7.1-incubating or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-26544 being exploited?

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

Sources

Also known as GHSA-74qp-233x-p5j8.

Is CVE-2021-26544 in your software?

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

Check your SBOMs for free