SQL Injection Affecting generator-jhipster package, versions >=7.0.0 <7.8.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-GENERATORJHIPSTER-2440606
  • published 7 Apr 2022
  • disclosed 4 Apr 2022
  • credit appkr

How to fix?

Upgrade generator-jhipster to version 7.8.1 or higher.

Overview

generator-jhipster is a development platform to generate, develop and deploy Spring Boot + Angular / React / Vue Web applications and Spring microservices.

Affected versions of this package are vulnerable to SQL Injection due to improper input sanitization, it is possible to be exploited via the findAllBy(Pageable pageable, Criteria criteria) method, when reactive with Spring WebFlux is enabled and an SQL database using r2dbc.

Note: Applications created without "reactive with Spring WebFlux" and applications with NoSQL databases are not affected.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.4 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    Low
Expand this section

NVD

8.1 high