CVE-2023-51839: DeviceFarmer stf uses DES-ECB
9.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.29836%
CWE
Published
1/29/2024
Updated
2/6/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| @devicefarmer/stf | npm | <= 3.6.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is explicitly traced to line 35 of lib/util/vncauth.js where crypto.createCipheriv('des-ecb', ...) is called. DES-ECB is a deprecated algorithm that encrypts identical plaintext blocks to identical ciphertext blocks, making it vulnerable to pattern analysis attacks. The empty IV (Buffer.alloc(0)) and 56-bit DES key length further exacerbate the weakness. The code's direct use of this insecure algorithm matches the CWE-327 description and advisory references.