{"cve":"CVE-2015-20110","nvd":{"published":"2023-10-31T03:15:07.613","modified":"2026-06-17T00:23:24.503","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-307"],"references":["https://github.com/jhipster/generator-jhipster/commit/79fe5626cb1bb80f9ac86cf46980748e65d2bdbc","https://github.com/jhipster/generator-jhipster/commit/7c49ab3d45dc4921b831a2ca55fb1e2a2db1ee25","https://github.com/jhipster/generator-jhipster/compare/v2.22.0...v2.23.0","https://github.com/jhipster/generator-jhipster/issues/2095","https://github.com/jhipster/generator-jhipster/commit/79fe5626cb1bb80f9ac86cf46980748e65d2bdbc"],"products":["jhipster:jhipster"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2015-20110","score":0.00593,"percentile":0.48381,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4gpm-r23h-gprw","url":"https://osv.dev/vulnerability/GHSA-4gpm-r23h-gprw","summary":"generator-jhipster allows a timing attack against validateToken due to a string comparison that stops at the first character","modified":"2023-11-08T18:41:14Z","packages":[{"ecosystem":"npm","name":"generator-jhipster","purl":"pkg:npm/generator-jhipster","ranges":["<2.23.0"],"fixed":["2.23.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}