> CVE-2023-25581

« BACK_TO_HOME
PUBLISHED
2024-10-10 16:15
MODIFIED
2024-10-15 12:58
EPSS (Prob. Exploit)
1.94%
Top 19.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-10 OSV 🔗 2026-11-08

> DESCRIPTION

pac4j is a security framework for Java. `pac4j-core` prior to version 4.0.0 is affected by a Java deserialization vulnerability. The vulnerability affects systems that store externally controlled values in attributes of the `UserProfile` class from pac4j-core. It can be exploited by providing an attribute that contains a serialized Java object with a special prefix `{#sb64}` and Base64 encoding. This issue may lead to Remote Code Execution (RCE) in the worst case. Although a `RestrictedObjectInputStream` is in place, that puts some restriction on what classes can be deserialized, it still allows a broad range of java packages and potentially exploitable with different gadget chains. pac4j versions 4.0.0 and greater are not affected by this issue. Users are advised to upgrade. There are no known workarounds for this vulnerability.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-76mw-6p95-x9x5 CRITICAL

pac4j-core affected by a Java deserialization vulnerability

AFFECTED PACKAGES:
MAVEN / org.pac4j:pac4j-core
< 4.0.0
Fixed in: 4.0.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Deserialization of untrusted data in InternalAttributeHandler in pac4j

AFFECTED PACKAGES:
Unknown / Unknown
35 versions affected
ALIASES:
GHSA-76mw-6p95-x9x5

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/10/2024 16:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:47
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME