{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:ranger:2.3.0:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.3.0"
              },
              {
                "last_affected": "2.3.0"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "ce3339c8ab653d99382caba9b2e5f306a7118561"
            },
            {
              "last_affected": "ce3339c8ab653d99382caba9b2e5f306a7118561"
            }
          ],
          "repo": "https://github.com/apache/ranger",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.3.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-74"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45048.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.3.0"
          },
          {
            "last_affected": "2.3.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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",
  "id": "CVE-2022-45048",
  "modified": "2026-08-12T03:51:49.498873930Z",
  "published": "2023-05-05T07:50:25.762Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45048.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/6rpzwy1smdhr60tsh1ydknn3kdm45bb6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45048"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache Ranger: code execution vulnerability in policy expressions"
}