CVE-2024-58036
published medium CVSS 3.1 · 5.5Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NORBU | — | Net-Dropbox-APINet::Dropbox::API · 0 through 1.9 · Other versions: unaffected | Affected | Not stated | CPANSec |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-Dropbox-APIaarch64 | Advisory build | 1.900.0-2.1 | OPENSUSE-SU-2025:15187-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-Dropbox-APIppc64le | Advisory build | 1.900.0-2.1 | OPENSUSE-SU-2025:15187-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-Dropbox-APIs390x | Advisory build | 1.900.0-2.1 | OPENSUSE-SU-2025:15187-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-Dropbox-APIx86_64 | Advisory build | 1.900.0-2.1 | OPENSUSE-SU-2025:15187-1 |
Description
Net::Dropbox::API 1.9 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Net::Dropbox::API uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NORBU | Net::Dropbox::API | 0 through 1.9 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- CWE-331 CWE-331 Insufficient Entropy
References
5- https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537
- https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L11
- https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L385
- https://perldoc.perl.org/functions/rand
- https://security.metacpan.org/docs/guides/random-data-for-security.html
Provider assertions
2CPANSec · cna
Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 174180614d60039305b65b04bc41cf3dd94aa7e7917b4a22518d7482245e1a43
- Ingested
- 23 Sep 2026, 08:32:14 UTC
- Source record
- Official CVE record