MEDIUM4.8
GHSA-v7mf-qgxf-qmvf
Apache Ranger admin users can store some arbitrary javascript code to be executed when normal users login and access policies
Quick fix
GHSA-v7mf-qgxf-qmvf — org.apache.ranger:ranger: upgrade to the fixed version with the command below.
# pom.xml: bump <version>0.6.3</version> for org.apache.ranger:rangerDetails
Apache Ranger before 0.6.is vulnerable to a Stored Cross-Site Scripting in when entering custom policy conditions. Admin users can store some arbitrary javascript code to be executed when normal users login and access policies.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.ranger:ranger
Introduced in:
0Fixed in: 0.6.3Fix
# pom.xml: bump <version>0.6.3</version> for org.apache.ranger:rangerReferences
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"]}'