CVE-2013-2165 — richfaces
CVE-2013-2165 is a CWE-264 vulnerability in org.richfaces:richfaces. EPSS puts its 30-day exploitation probability at 12.7% (96th percentile). A fix is available for org.richfaces:richfaces — see the affected versions and patch details below.
Remote code execution due to insecure deserialization
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.richfaces:richfaces☕org.richfaces:richfacesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
ResourceBuilderImpl.java in the RichFaces 3.x through 5.x implementation in Red Hat JBoss Web Framework Kit before 2.3.0, Red Hat JBoss Web Platform through 5.2.0, Red Hat JBoss Enterprise Application Platform through 4.3.0 CP10 and 5.x through 5.2.0, Red Hat JBoss BRMS through 5.3.1, Red Hat JBoss SOA Platform through 4.3.0 CP05 and 5.x through 5.3.1, Red Hat JBoss Portal through 4.3 CP07 and 5.x through 5.2.2, and Red Hat JBoss Operations Network through 2.4.2 and 3.x through 3.1.2 does not restrict the classes for which deserialization methods can be called, which allows remote attackers to execute arbitrary code via crafted serialized data.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.richfaces:richfaces | ≥ 3.1.0&&< 3.3.3 | 3.3.3org.richfaces:richfaces:3.3.3 |
| ☕Maven | org.richfaces:richfaces | ≥ 4.0.0&&< 4.3.2 | 4.3.2org.richfaces:richfaces:4.3.2 |
Affected Products
jboss enterprise application platformredhatjboss enterprise brms platformredhatjboss enterprise portal platformredhatjboss enterprise soa platformredhatjboss enterprise web platformredhatjboss operations networkredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.richfaces:richfaces, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.richfaces:richfaces to 3.3.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-2165 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| JBEWP 5 for RHEL 5 | richfaces-0:3.3.1-6.SP3_patch_01.ep5.el5 | RHSA-2013:1043 |
| JBoss Enterprise BRMS Platform 5.3 | see advisory | RHSA-2013:1045 |
| Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 4 | jboss-seam2-0:2.0.2.FP_SEC1-1.ep2.6.el4 | RHSA-2013:1044 |
| Red Hat JBoss Enterprise Application Platform 5 for RHEL 4 | richfaces-0:3.3.1-11.SP3_patch_01.ep5.el4 | RHSA-2013:1042 |
| Red Hat JBoss Web Framework Kit 2.3 | see advisory | RHSA-2013:1041 |
Frequently Asked Questions
Is CVE-2013-2165 in your dependencies?
Find it across Maven, including transitive dependencies.