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
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
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
A flaw was found in the way JBoss RichFaces handled deserialization. A remote attacker could use this flaw to trigger the execution of the deserialization methods in any serializable class deployed on the server. This could lead to a variety of security impacts depending on the deserialization logic of these classes.
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 |
Detection & 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
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2013-2165 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2013-2165. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
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?
O3 Security finds CVE-2013-2165 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.