CVE-2019-12397: Cross-site scripting in Apache Ranger

org.apache.ranger:ranger Updated 02 Oct 2025

Summary

16/08/2019
Yes i
Moderate
6.1

CVE-2019-12397: Cross-site scripting in Apache Ranger. Affects org.apache.ranger:ranger versions >= 0.7.0, < 2.0.0. Fixed in 2.0.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Ranger is an open-source security framework that provides centralized security administration for Hadoop ecosystem components. It enables fine-grained access control and centralized auditing across various data platforms. The vulnerability in Apache Ranger versions 0.7.0 to 1.2.0 allows for a cross-site scripting (XSS) attack through the policy import functionality.

Vulnerability Detail

The policy import functionality in Apache Ranger is susceptible to a cross-site scripting (XSS) issue. This vulnerability allows an attacker to inject malicious scripts into web pages viewed by other users. By exploiting this vulnerability, an attacker can potentially steal sensitive information, perform actions on behalf of the user, or manipulate the displayed content. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

How To Fix

Minimum fixed version

2.0.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, Apache Ranger versions 0.7.0 to 1.2.0 are vulnerable to a cross-site scripting (XSS) issue in the policy import functionality. Upgrading to version 2.0.0 or a later release is recommended to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.ranger:ranger →

Share this vulnerability

FAQ

Apache Ranger is an open-source security framework that provides centralized security administration for Hadoop ecosystem components. It enables fine-grained access control and centralized auditing across various data platforms.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as stealing sensitive information or manipulating displayed content.

This vulnerability in Apache Ranger can allow an attacker to execute arbitrary scripts in the context of other users, potentially leading to unauthorized access, data theft, or manipulation of the application's content.

To fix this vulnerability, it is recommended to upgrade to version 2.0.0 or a later release of Apache Ranger that includes the fix. This ensures that the policy import functionality is secure and protected against cross-site scripting attacks.

No specific workaround has been provided for this vulnerability. It is advised to upgrade to the fixed version of Apache Ranger.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.ranger:ranger.

How To Fix

Minimum fixed version

2.0.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback