Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
2Blast Radius
ecosystem impact- 6 maven packages depend on com.github.ulisesbocchio:jasypt-spring-boot (1 direct, 5 indirect)
- 5 maven packages depend on com.github.ulisesbocchio:jasypt-spring-boot-starter (3 direct, 2 indirect)
Ecosystem-wide dependent count for version 3.0.0 and other introduced versions.
DescriptionCVE.org
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.
AnalysisAI
Cryptographic salt generation in Jasypt Spring Boot library (versions ≤3.0.5 and ≤4.0.4) uses predictable values, enabling offline password cracking attacks against encrypted configuration properties. The SimpleGCMConfig class's getSecretKeySaltGenerator function generates salts without sufficient entropy, reducing the computational cost for attackers who obtain encrypted passwords to derive plaintext through dictionary or brute-force attacks. Public exploit code exists (POC available) with EPSS indicating low probability of widespread exploitation (3.7 CVSS, AC:H). Vendor has not responded to responsible disclosure as of analysis date.
Technical ContextAI
Jasypt Spring Boot is a Java library that provides integration between the Java Simplified Encryption (Jasypt) library and Spring Boot applications, commonly used to encrypt sensitive configuration properties like database passwords, API keys, and credentials in application.properties or YAML files. The vulnerability (CWE-760: Use of a One-Way Hash with a Predictable Salt) exists in the SimpleGCMConfig class's salt generation mechanism for GCM (Galois/Counter Mode) encryption. When salts are predictable or reused, attackers who gain access to encrypted configuration files can conduct offline attacks using precomputed rainbow tables or optimized brute-force techniques. The CPE cpe:2.3:a:ulisesbocchio:jasypt-spring-boot:*:*:*:*:*:*:*:* indicates the library itself is vulnerable, affecting any Spring Boot application that depends on these versions for property encryption. This is particularly concerning in containerized environments where configuration files may be exposed through image layers, CI/CD logs, or backup systems.
RemediationAI
No vendor-released patch is available as the project maintainer has not responded to vulnerability disclosure (GitHub issue #431). Organizations using jasypt-spring-boot ≤3.0.5 or ≤4.0.4 should implement one of these mitigations: (1) Migrate to external secret management solutions like HashiCorp Vault, AWS Secrets Manager, Azure Key Vault, or Spring Cloud Config Server with encryption backends, which provide cryptographically secure key derivation and rotation capabilities (trade-off: infrastructure complexity and operational overhead increase). (2) Fork the jasypt-spring-boot repository, apply custom fixes to SimpleGCMConfig.getSecretKeySaltGenerator() to use cryptographically secure random salt generation (SecureRandom with sufficient entropy), and maintain the fork internally (trade-off: ongoing maintenance burden and lack of upstream security updates). (3) If immediate migration is infeasible, implement compensating controls: enforce strict filesystem permissions on configuration files (readable only by application service accounts), use encrypted filesystems or volumes for property files, implement configuration file integrity monitoring, and rotate all encrypted credentials while re-encrypting with stronger external tools (trade-off: does not eliminate vulnerability, only reduces exposure surface). Monitor the vendor repository at https://github.com/ulisesbocchio/jasypt-spring-boot/ for future security releases. For technical implementation details of the exploit, security teams can reference https://github.com/dntyfate/cve/issues/3.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31584
GHSA-jgj7-c8vj-w563