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-23369 (High) detected in handlebars-4.1.2.jar #3968

Closed
1 task
mend-for-github-com bot opened this issue Jun 15, 2021 · 2 comments
Closed
1 task

CVE-2021-23369 (High) detected in handlebars-4.1.2.jar #3968

mend-for-github-com bot opened this issue Jun 15, 2021 · 2 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jun 15, 2021

CVE-2021-23369 - High Severity Vulnerability

Vulnerable Library - handlebars-4.1.2.jar

Logic-less and semantic templates with Java

Library home page: https://github.com/jknack/handlebars.java

Path to dependency file: swagger-core/modules/swagger-gradle-plugin/build.gradle

Path to vulnerable library: /modules/swagger-maven-plugin/target/lib/handlebars-4.1.2.jar,pository/com/github/jknack/handlebars/4.1.2/handlebars-4.1.2.jar,/home/wss-scanner/.m2/repository/com/github/jknack/handlebars/4.1.2/handlebars-4.1.2.jar

Dependency Hierarchy:

  • handlebars-4.1.2.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Publish Date: 2021-04-12

URL: CVE-2021-23369

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23369

Release Date: 2021-04-12

Fix Resolution: handlebars - 4.7.7


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Jun 15, 2021
frantuma added a commit that referenced this issue Jun 25, 2021
frantuma added a commit that referenced this issue Jun 25, 2021
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-23369 (High) detected in handlebars-4.0.7.jar CVE-2021-23369 (High) detected in handlebars-4.1.2.jar Jun 25, 2021
@frantuma
Copy link
Member

waiting for jknack/handlebars.java#848 to be merged and released

@frantuma
Copy link
Member

frantuma commented Oct 4, 2021

fixed in #4035

@frantuma frantuma closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

1 participant