{"id":"CVE-2015-20110","published":"2023-10-31T00:00:00Z","modified":"2024-09-06T18:28:17Z","title":"JHipster generator-jhipster before 2.23.0 allows a timing attack against validateToken due to a string comparison that…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00732,"percentile":0.55234,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/jhipster/generator-jhipster/issues/2095","tags":[]},{"url":"https://github.com/jhipster/generator-jhipster/commit/7c49ab3d45dc4921b831a2ca55fb1e2a2db1ee25","tags":[]},{"url":"https://github.com/jhipster/generator-jhipster/commit/79fe5626cb1bb80f9ac86cf46980748e65d2bdbc","tags":[]},{"url":"https://github.com/jhipster/generator-jhipster/compare/v2.22.0...v2.23.0","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":11.05}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-06T18:27:35.294372Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"generator-jhipster","vulnerableRanges":["<2.23.0"],"patched":["2.23.0"],"from":["GHSA-4gpm-r23h-gprw"],"provenance":"source"}],"summary":{"text":"The flaw is a timing side channel in the validateToken function of JHipster's generator-jhipster, present in versions before 2.23.0, caused by a string comparison that returns at the first mismatching character. An attacker who can submit guesses and measure response timing can recover a token one character at a time, reducing the brute-force effort from the full keyspace to roughly the token length multiplied by the number of possible characters.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:40Z"},"euvd":{"id":"EUVD-2023-2645","exploited":false,"provenance":"source"}}