{"id":"CVE-2022-45048","published":"2023-05-05T07:50:25Z","modified":"2024-10-15T18:12:43Z","title":"Apache Ranger: code execution vulnerability in policy expressions","vendor":"Apache","product":"Apache Ranger","tier":"tail","description":{"text":"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.\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01126,"percentile":0.67112,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://lists.apache.org/thread/6rpzwy1smdhr60tsh1ydknn3kdm45bb6","tags":["vendor-advisory"]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":13.42},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Ranger","versions":["2.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-10-15T18:11:38.936548Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.ranger:ranger","vulnerableRanges":[">=2.3.0, <2.4.0"],"patched":["2.4.0"],"from":["GHSA-89gw-cffj-mqg9"],"provenance":"source"}],"summary":{"text":"The flaw is a code execution vulnerability in the policy expression handling of Apache Ranger, an Apache product, where expressions in policies are not neutralised before being used by a downstream component. An attacker who is an authenticated user holding the privileges needed to create policies can craft a policy expression that executes code, and this requires user interaction to take effect.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:43Z"},"euvd":{"id":"EUVD-2023-2001","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-7677","published":"2017-06-14","fixed":"0.7.1","kev":false},{"cve":"CVE-2018-11778","published":"2018-10-05","fixed":"1.2.0","kev":false},{"cve":"CVE-2019-12397","published":"2019-08-08","fixed":"2.0.0","kev":false},{"cve":"CVE-2022-45048","published":"2023-05-05","fixed":"2.4.0","kev":false},{"cve":"CVE-2024-45478","published":"2025-01-21","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2022-45048","to":"CVE-2024-45478","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.ranger:ranger","fromFixed":"2.4.0","toFixed":"2.5.0","daysApart":627}]}},{"cve":"CVE-2024-45479","published":"2025-01-21","fixed":"2.5.0","kev":false,"link":{"from":"CVE-2022-45048","to":"CVE-2024-45479","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.ranger:ranger","fromFixed":"2.4.0","toFixed":"2.5.0","daysApart":627}]}}],"package":"Maven:org.apache.ranger:ranger"}}