CVE-2023-25581 — Vulnerability in org.pac4j:pac4j-core — CVE Details
pac4j-core affected by a Java deserialization vulnerability
Summary
Advisory Timeline
- First published October 11, 2024 (731 days ago).
- Last revised October 14, 2024 — 3 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.0.0 for org.pac4j:pac4j-core -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.pac4j:pac4j-core | maven | 1.4.0, 1.4.1, 1.5.0, 1.5.1 (+55 more) | 4.0.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-25581ADVISORY
- https://github.com/frohoff/ysoserialWEB
- https://github.com/pac4j/pac4jPACKAGE
- https://github.com/pac4j/pac4j/blob/5834aeb22ad3a4369dfa572be60d7b20f5784a8f/pac4j-core/src/main/java/org/pac4j/core/profile/InternalAttributeHandler.java#L95WEB
- https://portswigger.net/web-security/deserializationWEB
- https://securitylab.github.com/advisoriesWEB
- https://securitylab.github.com/advisories/GHSL-2022-085_pac4jADVISORY
Frequently Asked Questions
- What is CVE-2023-25581?
- pac4j-core affected by a Java deserialization vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-25581?
- CVE-2023-25581 affects org.pac4j:pac4j-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-25581 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2026-29000CRITICAL
pac4j-jwt: JwtAuthenticator Authentication Bypass via JWE-Wrapped PlainJWT
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies