# CVE-2024-5764

Use of Hard-coded Credentials vulnerability in Sonatype Nexus Repository has been discovered in the code responsible for encrypting any secrets stored in the Nexus Repository configuration database (SMTP or HTTP proxy credentials, user tokens, tokens, among others). The affected versions relied on a static hard-coded encryption passphrase. While it was possible for an administrator to define an alternate encryption passphrase, it could only be done at first boot and not updated.

This issue affects Nexus Repository: from 3.0.0 through 3.72.0.

Published Jun 12, 2024

CVSS Score: Medium

## Security Details

### Components Impacted

- Sonatype Research

### CVE-2024-5764 Security Details

**CVE ID**: CVE-2024-5764  
**CWE**: CWE-798 [Learn more about CWE-798](https://cwe.mitre.org/data/definitions/798.html)

**CVE Description**: Use of Hard-coded Credentials vulnerability in Sonatype Nexus Repository has been discovered in the code responsible for encrypting any secrets stored in the Nexus Repository configuration database (SMTP or HTTP proxy credentials, user tokens, tokens, among others). The affected versions relied on a static hard-coded encryption passphrase. While it was possible for an administrator to define an alternate encryption passphrase, it could only be done at first boot and not updated.

This issue affects Nexus Repository: from 3.0.0 through 3.72.0.

Published: Jun 12, 2024

### CVSS Score & Severity

- **Score**: 6.5 Medium  
- **CVSS Vector**: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- **EPSS Score**: 3.442%
- **Malware**: No known exploits

### Affected Ecosystems
- National Vulnerability Database

### References
- [CVE-2024-5764 - Security Details](https://support.sonatype.com/hc/en-us/articles/34496708991507-CVE-2024-5764-Nexus-Repository-Manager-3-Static-hard-coded-encryption-passphrase-used-by-default-2024-10-17)  
- [Security Advisories](https://support.sonatype.com/hc/en-us/sections/203012668-Security-Advisories)
