GHSA-x377-f64p-hf5j

Suggest an improvement
Source
https://github.com/advisories/GHSA-x377-f64p-hf5j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x377-f64p-hf5j/GHSA-x377-f64p-hf5j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-x377-f64p-hf5j
Aliases
Published
2022-05-17T04:59:18Z
Modified
2024-10-21T20:52:38.663617Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
PyCrypto does not properly reseed PRNG before allowing access
Details

The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the pseudo-random number generator (PRNG) before allowing a child process to access it, which makes it easier for context-dependent attackers to obtain sensitive information by leveraging a race condition in which a child process is created and accesses the PRNG within the same rate-limit period as another process.

Database specific
{
    "nvd_published_at": "2013-10-26T17:55:00Z",
    "cwe_ids": [
        "CWE-332"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-22T22:55:06Z"
}
References

Affected packages

PyPI / pycrypto

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1

Affected versions

1.*

1.9a2
1.9a5
1.9a6

2.*

2.0
2.0.1
2.1.0
2.2
2.3
2.4
2.4.1
2.5
2.6