CVE-2010-3300: Esapi Padding Oracle Attacks Vulnerability
MODERATECVE-2010-3300 is a MODERATE (CVSS 5.9) padding oracle attacks vulnerability (CWE-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking) affecting Esapi libraries in the Maven ecosystem. The issue involves padding oracle attacks. Remediation is available by upgrading affected packages to version 2.0GA.
CVE-2010-3300 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2010-3300
To remediate this vulnerability, upgrade all affected Esapi 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.owasp.esapi</groupId>
<artifactId>esapi</artifactId>
<version>2.0GA</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.owasp.esapi
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2010-3300, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.owasp.esapi
Analyze the terminal output to locate any version of Esapi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0GA), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.owasp.esapi 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-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking, where the product uses obfuscation or encryption of inputs that should not be mutable by an external actor, but the product does not use integrity checks to detect if those inputs have been modified. In Esapi, 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-2010-3300 Affected Esapi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.owasp.esapi:esapi
|
Maven |
< 2.0GA
|
2.0GA
|
References
Frequently Asked Questions
What is CVE-2010-3300?
Which Esapi versions are affected?
What version fixes CVE-2010-3300?
Is esapi affected?
What is the CVSS score of CVE-2010-3300?
What CWE is associated with CVE-2010-3300?
How can I check Maven dependencies for CVE-2010-3300?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3gp6-hhfw-4gqx",
"modified" : "2021-06-28T19:05:25Z",
"published" : "2021-08-13T15:22:24Z",
"aliases" : [ "CVE-2010-3300" ],
"summary" : "Padding oracle attacks",
"details" : "It was found that all OWASP ESAPI for Java up to version 2.0 RC2 are vulnerable to padding oracle attacks.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.owasp.esapi:esapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0GA"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3300"
}, {
"type" : "WEB",
"url" : "https://seclists.org/oss-sec/2010/q3/357"
}, {
"type" : "WEB",
"url" : "https://www.usenix.org/legacy/events/woot10/tech/full_papers/Rizzo.pdf"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-649" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-24T20:07:33Z",
"nvd_published_at" : "2021-06-22T12:15:00Z"
}
}