CVE-2021-31805
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.
Overview
- CVE ID
- CVE-2021-31805
- Assigner
- security@apache.org
- Vulnerability Status
- Modified
- Published Version
- 2022-04-12T16:15:08
- Last Modified Date
- 2022-07-25T18:15:43
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* | 1 | OR | 2.0.0 | 2.5.29 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
http://www.openwall.com/lists/oss-security/2022/04/12/6 | Mailing List Mitigation Third Party Advisory |
https://cwiki.apache.org/confluence/display/WW/S2-062 | Mitigation Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220420-0001/ | Third Party Advisory |
https://www.oracle.com/security-alerts/cpujul2022.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-31805 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31805 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 16:58:38 | Added to TrackCVE |