Security mailing lists by PureSourceCode

CVE-2015-20110

HIGH 7.5CVSS 3.1

generator-jhipster allows a timing attack against validateToken due to a string comparison that stops at the first character

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.

Published
31 Oct 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-208CWE-307
Also known as
GHSA-4gpm-r23h-gprw
Sources
NVDJSONOSV GHSA-4gpm-r23h-gprwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jhipster jhipster
cpe:2.3:a:jhipster:jhipster:*:*:*:*:*:*:*:*
< 2.23.0 2.23.0
OSV npm generator-jhipster < 2.23.0 2.23.0

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 31 Oct 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 31 Oct 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.