CVE-2024-39459:
Secret file credentials stored unencrypted in rare cases by Plain Credentials Plugin
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35061%
CWE
Published
6/26/2024
Updated
11/1/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:plain-credentials | maven | < 183.va | 183.va |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from the file content decryption check during credential creation. The key change in the commit replaces SecretBytes.fromBytes()
with fromRawBytes()
in FileCredentialsImpl
constructor. fromBytes()
attempted to decrypt content, potentially misinterpreting raw data as encrypted secrets, leading to insecure storage. This function is directly responsible for handling credential data ingestion, making it the vulnerable point.