Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| JDEGUEST | Apache::API::Password | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jdeguest | Apache::api::password |
|
Vendor Solution
Upgrade to version v0.5.3 or later, and install Crypt::URandom.
Vendor Workaround
Install Crypt::URandom.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.582% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jdeguest apache\
|
|
| CPEs | cpe:2.3:a:jdeguest:apache\:\:api\:\:password:*:*:*:*:*:perl:*:* | |
| Vendors & Products |
Jdeguest apache\
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Apache::API::Password versions through v0.5.2 for Perl can generate insecure random values for salts. The _make_salt and _make_salt_bcrypt methods will attept to load Crypt::URandom and then Bytes::Random::Secure to generate random bytes for the salt. If those modules are unavailable, it will simply return 16 bytes generated with Perl's built-in rand function. The rand function is unsuitable for cryptographic use. These salts are used for password hashing. | Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts. The _make_salt and _make_salt_bcrypt methods will attept to load Crypt::URandom and then Bytes::Random::Secure to generate random bytes for the salt. If those modules are unavailable, it will simply return 16 bytes generated with Perl's built-in rand function. The rand function is unsuitable for cryptographic use. These salts are used for password hashing. |
| Title | Apache::API::Password versions through v0.5.2 for Perl can generate insecure random values for salts | Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jdeguest
Jdeguest apache::api::password |
|
| Vendors & Products |
Jdeguest
Jdeguest apache::api::password |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Apache::API::Password versions through v0.5.2 for Perl can generate insecure random values for salts. The _make_salt and _make_salt_bcrypt methods will attept to load Crypt::URandom and then Bytes::Random::Secure to generate random bytes for the salt. If those modules are unavailable, it will simply return 16 bytes generated with Perl's built-in rand function. The rand function is unsuitable for cryptographic use. These salts are used for password hashing. | |
| Title | Apache::API::Password versions through v0.5.2 for Perl can generate insecure random values for salts | |
| Weaknesses | CWE-338 | |
| References |
|