generator-jhipster@7.4.1 vulnerabilities

Spring Boot + Angular/React/Vue in one handy generator

Direct Vulnerabilities

Known vulnerabilities in the generator-jhipster package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • H
Incorrect Authorization

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 Incorrect Authorization via the authorities parameter in the response from the api/account endpoint. An attacker can gain elevated privileges by modifying the value of the authorities parameter for ROLE_USER to ROLE_ADMIN.

Note: The reporter of this vulnerability claims that the project maintainers do not intend to release a fix.

How to fix Incorrect Authorization?

There is no fixed version for generator-jhipster.

*
  • H
SQL Injection

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.

How to fix SQL Injection?

Upgrade generator-jhipster to version 7.8.1 or higher.

>=7.0.0 <7.8.1