PT-2023-10311

CVE-2015-20110

·

Published

2023-10-31

·

Updated

2023-11-08

Description by

CVSS 3.1
7.5
High
MetricsAV: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.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-4GPM-R23H-GPRW
Found an issue in the description? Have something to add? Feel free to write us 👾