kernel: ansi_cprng: off by one error in non-block size request
Published Oct 10, 2013
5.8
MEDIUMCVSS 2.0
EPSS 3.21%
Description
Off-by-one error in the get_prng_bytes function in crypto/ansi_cprng.c in the Linux kernel through 3.11.4 makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via multiple requests for small amounts of data, leading to improper management of the state of the consumed data.
Affected products
No data.
Configuration 1
- ≤ 3.11.4
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 3.0.19
- 3.0.20
- 3.0.21
- 3.0.22
- 3.0.23
- 3.0.24
- 3.0.25
- 3.0.26
- 3.0.27
- 3.0.28
- 3.0.29
- 3.0.30
- 3.0.31
- 3.0.32
- 3.0.33
- 3.0.34
- 3.0.35
- 3.0.36
- 3.0.37
- 3.0.38
- 3.0.39
- 3.0.40
- 3.0.41
- 3.0.42
- 3.0.43
- 3.0.44
- 3.0.45
- 3.0.46
- 3.0.47
- 3.0.48
- 3.0.49
- 3.0.50
- 3.0.51
- 3.0.52
- 3.0.53
- 3.0.54
- 3.0.55
- 3.0.56
- 3.0.57
- 3.0.58
- 3.0.59
- 3.0.60
- 3.0.61
- 3.0.62
- 3.0.63
- 3.0.64
- 3.0.65
- 3.0.66
- 3.0.67
- 3.0.68
- 3.1
- 3.1
- 3.1
- 3.1
- 3.1
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.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- 3.9.6
- 3.9.7
- 3.9.8
- 3.9.9
- 3.9.10
- 3.9.11
- 3.10.1
- 3.10.2
- 3.10.3
- 3.10.4
- 3.10.5
- 3.10.6
- 3.10.7
- 3.10.8
- 3.10.9
- 3.10.10
- 3.10.11
- 3.10.12
- 3.11
- 3.11.1
- 3.11.2
- 3.11.3
Configuration 2
- 18
- 19
- 5
- 6.0
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
No data.
Red Hat Enterprise Linux 5
kernel-0:2.6.18-371.1.2.el5
Fixed · RHSA-2013:1449
Red Hat Enterprise Linux 6
kernel-0:2.6.32-431.el6
Fixed · RHSA-2013:1645
Red Hat Enterprise MRG 2
kernel-rt-0:3.8.13-rt14.25.el6rt
Fixed · RHSA-2013:1490
Red Hat Enterprise Linux 7
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-371.1.2.el5 | Fixed | RHSA-2013:1449 |
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-431.el6 | Fixed | RHSA-2013:1645 |
| Red Hat Enterprise MRG 2 | kernel-rt-0:3.8.13-rt14.25.el6rt | Fixed | RHSA-2013:1490 |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2 may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 3.21% (0.03209) | 87.74th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.18% (0.03181) | 86.36th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.91% (0.00911) | 74.20th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.59% (0.00587) | 78.95th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.59% (0.00587) | 77.54th | v3 (v2023.03.01) |
| May 23, 2023 | 0.59% (0.00587) | 75.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.57% (0.00570) | 74.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (21)
- http://marc.info/?l=linux-crypto-vger&m=137942122902845&w=2 mailing-listx_refsource_MLISTPatch
- http://rhn.redhat.com/errata/RHSA-2013-1449.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1490.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2013-1645.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/62740 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-2064-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2065-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2068-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2070-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2071-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2072-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2074-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2075-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2076-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2109-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2110-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2158-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-4345 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1007690 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-4345
- https://www.cve.org/CVERecord?id=CVE-2013-4345
Change history (0)
No recorded changes yet.