CVE-2011-4314: Openid4java OpenID4Java Does Not Verify That Vulnerability
MODERATECVE-2011-4314 is a MODERATE openid4java does not verify that vulnerability (CWE-20: Improper Input Validation) affecting Openid4java libraries in the Maven ecosystem. The issue involves openid4java does not verify that attribute exchange (ax) information is signed. Remediation is available by upgrading affected packages to version 0.9.6.
CVE-2011-4314 at a Glance
How to Fix CVE-2011-4314
To remediate this vulnerability, upgrade all affected Openid4java dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.openid4java</groupId>
<artifactId>openid4java</artifactId>
<version>0.9.6</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.openid4java
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2011-4314, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.openid4java
Analyze the terminal output to locate any version of Openid4java in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.6), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.openid4java command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Openid4java, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-4314 Affected Openid4java Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.openid4java:openid4java
|
Maven |
< 0.9.6
|
0.9.6
|
References
Frequently Asked Questions
What is CVE-2011-4314?
Which Openid4java versions are affected?
What version fixes CVE-2011-4314?
Is openid4java affected?
What CWE is associated with CVE-2011-4314?
How can I check Maven dependencies for CVE-2011-4314?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j473-c3rr-rx9p",
"modified" : "2025-04-12T02:28:13Z",
"published" : "2022-05-17T05:15:11Z",
"aliases" : [ "CVE-2011-4314" ],
"summary" : "OpenID4Java does not verify that Attribute Exchange (AX) information is signed",
"details" : "message/ax/AxMessage.java in OpenID4Java before 0.9.6 final, as used in JBoss Enterprise Application Platform 5.1 before 5.1.2, Step2, Kay Framework before 1.0.2, and possibly other products does not verify that Attribute Exchange (AX) information is signed, which allows remote attackers to modify potentially sensitive AX information without detection via a man-in-the-middle (MITM) attack.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.openid4java:openid4java"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4314"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jbufu/openid4java"
}, {
"type" : "WEB",
"url" : "https://issues.jboss.org/browse/JBEPP-1368"
}, {
"type" : "WEB",
"url" : "https://issues.jboss.org/browse/SOA-3597"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201207151157/http://securitytracker.com/id?1026400"
}, {
"type" : "WEB",
"url" : "http://openid.net/2011/05/05/attribute-exchange-security-alert"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-0441.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-0519.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/11/16/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/11/17/1"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2011-1804.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-345" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T02:28:13Z",
"nvd_published_at" : "2012-01-27T15:55:00Z"
}
}