HIGH8.8
GHSA-c99h-fgqm-6679
UnixAuthenticationService in Apache Ranger was updated to correctly handle user input to avoid Stack-based buffer overflow
Quick fix
GHSA-c99h-fgqm-6679 — org.apache.ranger:ranger: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.2.0</version> for org.apache.ranger:rangerDetails
UnixAuthenticationService in Apache Ranger 1.2.0 was updated to correctly handle user input to avoid Stack-based buffer overflow. Versions prior to 1.2.0 should be upgraded to 1.2.0
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.ranger:ranger
Introduced in:
0Fixed in: 1.2.0Fix
# pom.xml: bump <version>1.2.0</version> for org.apache.ranger:rangerReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-11778[ADVISORY]
- https://cwiki.apache.org/confluence/display/RANGER/Vulnerabilities+found+in+Ranger[WEB]
- https://github.com/advisories/GHSA-c99h-fgqm-6679[ADVISORY]
- https://lists.apache.org/thread.html/r04bc435a92911de4b52d2b98f169bd7cf2e8bbeb53b03788df8f932c@%3Cdev.ranger.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/rd88077a781ef38f7687c100f93992f4dda8aa101925050c4af470998@%3Cdev.ranger.apache.org%3E[WEB]
- https://seclists.org/oss-sec/2018/q4/11[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"]}'