JHipster generator-jhipster before 2.23.0 allows a timing attack against validateToken…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-307 and CWE-208.
Summary
JHipster generator-jhipster before 2.23.0 allows a timing attack against validateToken due to a string comparison that stops at the first character that is different. Attackers can guess tokens by brute forcing one character at a time and observing the timing. This of course drastically reduces the search space to a linear amount of guesses based on the token length times the possible characters.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | generator-jhipster (npm) | before 2.23.0 | 2.23.0 | Patch available | GHSA-4gpm-r23h-gprw |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- generator-jhipster (npm) Vendor— Affected before 2.23.0 Fixed in 2.23.0 Patch available GHSA-4gpm-r23h-gprw
Remediation
- Fix · GHSA-4gpm-r23h-gprw generator-jhipster (npm) Fixed in 2.23.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2015-20110
- 2026-10-03 Alias added: GHSA-4gpm-r23h-gprw
- 2026-11-01 EPSS moved to the 50th–90th percentile
References
Patch 4
- https://github.com/jhipster/generator-jhipster/issues/2095
- https://github.com/jhipster/generator-jhipster/commit/7c49ab3d45dc4921b831a2ca55fb1e2a2db1ee25
- https://github.com/jhipster/generator-jhipster/commit/79fe5626cb1bb80f9ac86cf46980748e65d2bdbc
- https://github.com/jhipster/generator-jhipster/compare/v2.22.0...v2.23.0
More Jhipster vulnerabilities
- TI-2019-12273 A class generated by the Generator in JHipster before 6.3.0 and JHipster Kotlin through… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2015-20110 · CVE Program
- CVE-2015-20110 · NVD
- FIRST EPSS
- GHSA-4gpm-r23h-gprw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences