logo

CVE-2015-20110 generator-jhipster

Package

Manager: npm
Name: generator-jhipster
Vulnerable Version: >=0 <2.23.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00214 pctl0.43938

Details

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.

Metadata

Created: 2023-10-31T03:31:22Z
Modified: 2023-11-08T18:41:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-4gpm-r23h-gprw/GHSA-4gpm-r23h-gprw.json
CWE IDs: ["CWE-208", "CWE-307"]
Alternative ID: GHSA-4gpm-r23h-gprw
Finding: F053
Auto approve: 1