CVE-2010-2057Apache Myfaces
Medium 5.0 No auth needed
Follow: this CVE · Apache · Apache Myfaces We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Oct 20, 2010
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
What happens
shared/util/StateUtils.java in Apache MyFaces 1.1.x before 1.1.8, 1.2.x before 1.2.9, and 2.0.x before 2.0.1 uses an encrypted View State without a Message Authentication Code (MAC), which makes it easier for remote attackers to perform successful modifications of the View State via a padding oracle attack.
What to do
- Apply the vendor's security update for Myfaces.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.myfaces.core:myfaces-impl |
≥ 1.1.0 < 1.1.8 |
1.1.8 |
— |
| Maven | org.apache.myfaces.core:myfaces-impl |
≥ 1.2.0 < 1.2.9 |
1.2.9 |
— |
| Maven | org.apache.myfaces.core:myfaces-impl |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
— |
| Maven | org.apache.myfaces.shared:myfaces-shared-core |
≥ 1.1.0 < 1.1.8 |
1.1.8 |
— |
| Maven | org.apache.myfaces.shared:myfaces-shared-core |
≥ 1.2.0 < 1.2.9 |
1.2.9 |
— |
| Maven | org.apache.myfaces.shared:myfaces-shared-core |
≥ 2.0.0 < 2.0.1 |
2.0.1 |
— |
Per OSV / GitHub Advisories (GHSA-4fv4-cq5v-x45m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | myfaces | 1.1.0 |
| apache | myfaces | 1.1.1 |
| apache | myfaces | 1.1.2 |
| apache | myfaces | 1.1.3 |
| apache | myfaces | 1.1.4 |
| apache | myfaces | 1.1.5 |
| apache | myfaces | 1.1.6 |
| apache | myfaces | 1.1.7 |
| apache | myfaces | 1.2.2 |
| apache | myfaces | 1.2.3 |
| apache | myfaces | 1.2.4 |
| apache | myfaces | 1.2.5 |
| apache | myfaces | 1.2.6 |
| apache | myfaces | 1.2.7 |
| apache | myfaces | 1.2.8 |
| apache | myfaces | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.