Skip to content
Fencer Intel
medium 5.8

CVE-2013-4345 json

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-depen…

published 13y ago modified 4mo ago also EUVD-2013-4231

cvss
5.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.2%
EPSS 3.2% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux Debian 14, Debian 13, Debian 12 3.11.5-1

debian advisories DEBIAN-CVE-2013-4345

  • kernel RHEL 5 2.6.18-371.1.2.el5
  • kernel-PAE RHEL 5 2.6.18-371.1.2.el5
  • kernel-xen RHEL 5 2.6.18-371.1.2.el5
  • kernel-kdump RHEL 5 2.6.18-371.1.2.el5
  • kernel-debuginfo-common RHEL 5 2.6.18-371.1.2.el5
  • kernel RHEL 6 2.6.32-431.el6
  • perf RHEL 6 2.6.32-431.el6
  • python-perf RHEL 6 2.6.32-431.el6

red hat advisories RHSA-2013:1449RHSA-2013:1645RHSA-2013:1490

Is CVE-2013-4345 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4345 updated cvss 2.6

kernel: ansi_cprng: off by one error in non-block size request

  • Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-371.1.2.el5, kernel-PAE 2.6.18-371.1.2.el5, kernel-xen 2.6.18-371.1.2.el5, kernel-kdump 2.6.18-371.1.2.el5, kernel-debuginfo-common 2.6.18-371.1.2.el5 Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-371.1.2.el5, kernel-PAE 2.6.18-371.1.2.el5, kernel-xen 2.6.18-371.1.2.el5, kernel-debuginfo-common 2.6.18-371.1.2.el5
    fixed: vendor fix RHSA-2013:1449
  • Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-431.el6, kernel 2.6.32-431.el6, kernel-firmware 2.6.32-431.el6, kernel-abi-whitelists 2.6.32-431.el6, kernel-debuginfo-common-i686 2.6.32-431.el6, kernel-debuginfo-common-x86_64 2.6.32-431.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-431.el6, kernel-debuginfo-common-i686 2.6.32-431.el6, kernel-debuginfo-common-x86_64 2.6.32-431.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-431.el6, kernel-debuginfo-common-x86_64 2.6.32-431.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-431.el6, kernel 2.6.32-431.el6, kernel-kdump 2.6.32-431.el6, kernel-firmware 2.6.32-431.el6, kernel-bootwrapper 2.6.32-431.el6, kernel-abi-whitelists 2.6.32-431.el6, +4 more Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-431.el6, kernel-debuginfo-common-i686 2.6.32-431.el6, kernel-debuginfo-common-ppc64 2.6.32-431.el6, kernel-debuginfo-common-s390x 2.6.32-431.el6, kernel-debuginfo-common-x86_64 2.6.32-431.el6 Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-431.el6, kernel 2.6.32-431.el6, kernel-firmware 2.6.32-431.el6, kernel-abi-whitelists 2.6.32-431.el6, kernel-debuginfo-common-i686 2.6.32-431.el6, kernel-debuginfo-common-x86_64 2.6.32-431.el6
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-431.el6, kernel-debuginfo-common-i686 2.6.32-431.el6, kernel-debuginfo-common-x86_64 2.6.32-431.el6
    fixed: vendor fix RHSA-2013:1645
  • Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.8.13-rt14.25.el6rt, mrg-rt-release 3.8.13-rt14.25.el6rt, kernel-rt-trace 3.8.13-rt14.25.el6rt, kernel-rt-vanilla 3.8.13-rt14.25.el6rt, kernel-rt-firmware 3.8.13-rt14.25.el6rt, kernel-rt-debuginfo-common-x86_64 3.8.13-rt14.25.el6rt
    fixed: vendor fix RHSA-2013:1490
  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, python-perf, kernel-kdump, kernel-tools, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.21% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.