MEDIUM6.1
GHSA-fpqp-v323-44xv
Cross-site scripting in Apache Ranger
Quick fix
GHSA-fpqp-v323-44xv — org.apache.ranger:ranger: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.0.0</version> for org.apache.ranger:rangerDetails
Policy import functionality in Apache Ranger 0.7.0 to 1.2.0 is vulnerable to a cross-site scripting issue. Upgrade to 2.0.0 or later version of Apache Ranger with the fix.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.ranger:ranger
Introduced in:
0.7.0Fixed in: 2.0.0Fix
# pom.xml: bump <version>2.0.0</version> for org.apache.ranger:rangerReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-12397[ADVISORY]
- https://cwiki.apache.org/confluence/display/RANGER/Vulnerabilities+found+in+Ranger[WEB]
- https://lists.apache.org/thread.html/ab2de1adad96f5dbd19d976b28715dfc60dbe75e82a74f48be8ef695@%3Cdev.ranger.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/cbc6346708ef2b9ffb2555637311bf6294923c609c029389fa39de8f@%3Cdev.ranger.apache.org%3E[WEB]
- http://www.openwall.com/lists/oss-security/2019/08/08/1[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.apache.ranger/ranger"]}'