Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-31805 (Critical) detected in struts2-core-2.5.26.jar #30

Open
1 task
mend-for-github-com bot opened this issue Apr 13, 2022 · 0 comments
Open
1 task
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Apr 13, 2022

CVE-2021-31805 - Critical Severity Vulnerability

Vulnerable Library - struts2-core-2.5.26.jar

Library home page: http://struts.apache.org/

Path to dependency file: /app/pom.xml

Path to vulnerable library: /canner/.m2/repository/org/apache/struts/struts2-core/2.5.26/struts2-core-2.5.26.jar

Dependency Hierarchy:

  • struts2-core-2.5.26.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2022-04-12

URL: CVE-2021-31805

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cwiki.apache.org/confluence/display/WW/S2-062

Release Date: 2022-04-12

Fix Resolution: 2.5.30


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 13, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-31805 (Medium) detected in struts2-core-2.5.26.jar CVE-2021-31805 (High) detected in struts2-core-2.5.26.jar May 21, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-31805 (High) detected in struts2-core-2.5.26.jar CVE-2021-31805 (Critical) detected in struts2-core-2.5.26.jar Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants