Masterminds goutils RandomAlphaNumeric/CryptoRandomAlphaNumeric entropy
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, was found in Masterminds goutils. Affected by this issue is the function RandomAlphaNumeric/CryptoRandomAlphaNumeric. Such manipulation leads to entropy.
This vulnerability is uniquely identified as CVE-2021-4238. No exploit exists.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability was found in Masterminds goutils (affected version not known) and classified as problematic. Affected by this issue is the function RandomAlphaNumeric/CryptoRandomAlphaNumeric. The manipulation with an unknown input leads to a entropy vulnerability. Using CWE to declare the problem leads to CWE-331. The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others. Impacted is confidentiality. CVE summarizes:
Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.
The weakness was disclosed 12/28/2022 as 869801f20f9f1e7ecdbdb6422049d8241270d5e1. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2021-4238 since 07/29/2022. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1600.001.
Applying the patch 869801f20f9f1e7ecdbdb6422049d8241270d5e1 is able to eliminate this problem. The bugfix is ready for download at github.com.
Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.8VulDB Meta Temp Score: 5.8
VulDB Base Score: 2.6
VulDB Temp Score: 2.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: EntropyCWE: CWE-331 / CWE-330 / CWE-310
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 869801f20f9f1e7ecdbdb6422049d8241270d5e1
Timeline
07/29/2022 🔍12/28/2022 🔍
12/28/2022 🔍
04/11/2025 🔍
Sources
Product: github.comAdvisory: 869801f20f9f1e7ecdbdb6422049d8241270d5e1
Status: Confirmed
CVE: CVE-2021-4238 (🔍)
GCVE (CVE): GCVE-0-2021-4238
GCVE (VulDB): GCVE-100-216932
Entry
Created: 12/28/2022 09:23Updated: 04/11/2025 19:42
Changes: 12/28/2022 09:23 (41), 01/25/2023 13:05 (11), 04/11/2025 19:42 (16)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.