1. Archivio CVE
  2. 2026
  3. CVE-2026-9370

CVE-2026-9370

3.7 Gravità bassa CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N 3.7 – Bassa

Descrizione

A weakness has been identified in ulisesbocchio jasypt-spring-boot up to 3.0.5/4.0.4. Affected by this vulnerability is the function getSecretKeySaltGenerator of the file jasypt-spring-boot/src/main/java/com/ulisesbocchio/jasyptspringboot/encryptor/SimpleGCMConfig.java of the component Password Hash Handler. Executing a manipulation can lead to use of a one-way hash with a predictable salt. The attack can be launched remotely. The attack requires a high level of complexity. The exploitation appears to be difficult. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
ulisesbocchio jasypt-spring-boot 3.0.0 –
ulisesbocchio jasypt-spring-boot 3.0.1 –
ulisesbocchio jasypt-spring-boot 3.0.2 –
ulisesbocchio jasypt-spring-boot 3.0.3 –
ulisesbocchio jasypt-spring-boot 3.0.4 –
ulisesbocchio jasypt-spring-boot 3.0.5 –
ulisesbocchio jasypt-spring-boot 4.0.0 –
ulisesbocchio jasypt-spring-boot 4.0.1 –
ulisesbocchio jasypt-spring-boot 4.0.2 –
ulisesbocchio jasypt-spring-boot 4.0.3 –
ulisesbocchio jasypt-spring-boot 4.0.4 –

Tipo di vulnerabilità

CWE-759 Use of a One-Way Hash without a Salt

The product uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the product does not also use a salt as part of the input.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione Use an adaptive hash function that can be configured to change the amount of computational effort needed to compute the hash, such as the number of iterations (stretching) or the amount of memory required. Some hash functions perform salting automatically. These functions can significantly increase the overhead for a brute force attack compared to intentionally-fast functions such as MD5. For example, rainbow table attacks can become infeasible due to the high computing overhead. Finally, since computing power gets faster and cheaper over time, the technique can be reconfigured to increase the workload without forcing an entire replacement of the algorithm in use. Some hash functions that have one or more of these desired properties include bcrypt, scrypt, and PBKDF2. While there is active debate about which of these is the most effective, they are all stronger than using salts with hash functions with very little computing overhead.
Architettura e progettazione If a technique that requires extra computational effort can not be implemented, then for each password that is processed, generate a new random salt using a strong random number generator with unpredictable seeds. Add the salt to the plaintext password before hashing it. When storing the hash, also store the salt. Do not use the same salt for every password.
Sviluppo · Architettura e progettazione When using industry-approved techniques, use them correctly. Don't cut corners by skipping resource-intensive steps (CWE-325). These steps are often essential for preventing common attacks.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 17 CVE di tipo CWE-759, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org