CVE-2021-26544 Apache Livy (Incubating) is vulnerable to cross site scripting
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.livy:livy-server Maven | From 0.7.0-incubating | 0.7.1-incubating |
org.apache.livy:livy-server Maven | From 0.7.0-incubating | 0.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.
Other vulnerabilities in Apache Livy (Incubating)
Sources
Also known as GHSA-74qp-233x-p5j8.