PT-2023-10311 · Jhipster · Generator-Jhipster

Ghost

·

Published

2023-10-31

·

Updated

2023-11-08

·

CVE-2015-20110

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions JHipster generator-jhipster versions prior to 2.23.0
Description The issue allows for a timing attack against the validateToken function due to a string comparison that stops at the first different character. This enables attackers to guess tokens through brute force, one character at a time, by observing the timing. The search space is reduced to a linear amount of guesses based on the token length times the possible characters.
Recommendations For versions prior to 2.23.0, update to version 2.23.0 or later to resolve the issue. As a temporary workaround, consider implementing a constant-time comparison for the validateToken function to prevent timing attacks.

Fix

Improper Restriction of Excessive Authentication Attempts

Weakness Enumeration

Related Identifiers

CVE-2015-20110
GHSA-4GPM-R23H-GPRW

Affected Products

Generator-Jhipster