{"id":"CVE-2007-4311","aliases":["BELL-CVE-2007-4311","DSA-1503-1","DSA-1503-2","EUVD-2007-4294","GHSA-7p4g-p325-hv5m"],"status":"published","title":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35...","description":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01729,"percentile":0.7774,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-310"],"published":"2007-08-13T21:00:00Z","modified":"2026-06-16T22:43:47Z","affected":[{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-latest-2.4-i386","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"101sarge2"}]}],"versions":["101","101sarge1"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-alpha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10sarge6"}]}],"versions":["2.4.27-10","2.4.27-10sarge1","2.4.27-10sarge2","2.4.27-10sarge3","2.4.27-10sarge4","2.4.27-10sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-m68k","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-3sarge6"}]}],"versions":["2.4.27-3","2.4.27-3sarge1","2.4.27-3sarge2","2.4.27-3sarge3","2.4.27-3sarge4","2.4.27-3sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"i2c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.9.1-1sarge2"}]}],"versions":["1:2.9.1-1","1:2.9.1-1sarge1"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"systemimager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-6sarge5"}]}],"versions":["3.2.3-6","3.2.3-6sarge1","3.2.3-6sarge2","3.2.3-6sarge3","3.2.3-6sarge4"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-latest-2.4-alpha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"101sarge3"}]}],"versions":["101","101sarge1"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-patch-powerpc-2.4.27","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10sarge6"}]}],"versions":["2.4.27-10","2.4.27-10sarge1","2.4.27-10sarge2","2.4.27-10sarge3","2.4.27-10sarge4","2.4.27-10sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-latest-2.4-sparc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"42sarge3"}]}],"versions":["42","42sarge1","42sarge2"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-patch-2.4.27-mips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10.sarge4.040815-3"}]}],"versions":["2.4.27-10.040815-1","2.4.27-10.sarge1.040815-1","2.4.27-10.sarge2.040815-1","2.4.27-10.sarge3.040815-1","2.4.27-10.sarge4.040815-1","2.4.27-10.sarge4.040815-2"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"pcmcia-modules-2.4.27-i386","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.5+2sarge2"}]}],"versions":["3.2.5+2","3.2.5+2sarge1"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-ia64","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10sarge6"}]}],"versions":["2.4.27-10","2.4.27-10sarge1","2.4.27-10sarge2","2.4.27-10sarge3","2.4.27-10sarge4","2.4.27-10sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"mindi-kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-2sarge5"}]}],"versions":["2.4.27-2","2.4.27-2sarge1","2.4.27-2sarge2","2.4.27-2sarge3","2.4.27-2sarge4"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-latest-2.4-s390","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-1sarge2"}]}],"versions":["2.4.27-1","2.4.27-1sarge1"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"hostap-modules-i386","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.3.7-1sarge3"}]}],"versions":["1:0.3.7-1","1:0.3.7-1sarge1","1:0.3.7-1sarge2"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-speakup-i386","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-1.1sarge5"}]}],"versions":["2.4.27-1.1","2.4.27-1.1sarge1","2.4.27-1.1sarge2","2.4.27-1.1sarge3","2.4.27-1.1sarge4"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-source-2.4.27","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10sarge6"}]}],"versions":["2.4.27-10","2.4.27-10sarge1","2.4.27-10sarge2","2.4.27-10sarge3","2.4.27-10sarge4","2.4.27-10sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-arm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-2sarge6"}]}],"versions":["2.4.27-2","2.4.27-2sarge1","2.4.27-2sarge2","2.4.27-2sarge3","2.4.27-2sarge4","2.4.27-2sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-i386","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10sarge6"}]}],"versions":["2.4.27-10","2.4.27-10sarge1","2.4.27-10sarge2","2.4.27-10sarge3","2.4.27-10sarge4","2.4.27-10sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-sparc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-9sarge6"}]}],"versions":["2.4.27-9","2.4.27-9sarge1","2.4.27-9sarge2","2.4.27-9sarge3","2.4.27-9sarge4","2.4.27-9sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-image-2.4.27-s390","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-2sarge6"}]}],"versions":["2.4.27-2","2.4.27-2sarge1","2.4.27-2sarge2","2.4.27-2sarge3","2.4.27-2sarge4","2.4.27-2sarge5"],"bundled":20},{"source":"osv","ecosystem":"Debian:3.1","package":"kernel-source-2.4.27","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.27-10sarge7"}]}],"versions":["2.4.27-10","2.4.27-10sarge1","2.4.27-10sarge2","2.4.27-10sarge3","2.4.27-10sarge4","2.4.27-10sarge5","2.4.27-10sarge6"],"bundled":20}],"products":[{"vendor":"linux","product":"linux_kernel"}],"references":[{"url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.34.y.git%3Ba=commit%3Bh=faa3369ac2ea7feb0dd266b6a5e8d6ab153cf925","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.34.y.git%3Ba=commit%3Bh=bd67d4c7b11cc33ebdc346bc8926d255b354cd64","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.34.6","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.kernel.org/pub/linux/kernel/v2.4/ChangeLog-2.4.35","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1503","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/29058","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/2690","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/25029","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4311"},{"url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.34.y.git;a=commit;h=bd67d4c7b11cc33ebdc346bc8926d255b354cd64"},{"url":"http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.4.34.y.git;a=commit;h=faa3369ac2ea7feb0dd266b6a5e8d6ab153cf925"},{"url":"https://github.com/advisories/GHSA-7p4g-p325-hv5m"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2007-4311","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-4311","description":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.","status":"published","published":"2007-08-13T21:00:00Z","modified":"2024-08-07T14:53:55.25Z","updated_at":"2026-11-02T13:33:19.093583Z"}],"euvd":[{"id":"EUVD-2007-4294","description":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.","status":"published","published":"2007-08-13T21:00:00Z","modified":"2024-08-07T14:53:55Z","updated_at":"2026-11-03T01:16:22.0225Z"}],"ghsa":[{"id":"GHSA-7p4g-p325-hv5m","title":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35...","description":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.","status":"published","published":"2022-05-01T18:22:21Z","modified":"2025-04-09T03:46:07Z","updated_at":"2026-11-02T15:00:55.004058Z"}],"nvd":[{"id":"CVE-2007-4311","description":"The xfer_secondary_pool function in drivers/char/random.c in the Linux kernel 2.4 before 2.4.35 performs reseed operations on only the first few bytes of a buffer, which might make it easier for attackers to predict the output of the random number generator, related to incorrect use of the sizeof operator.","status":"published","published":"2007-08-13T21:17:00Z","modified":"2026-06-16T22:43:47.45Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:01:19.102336Z"}],"osv":[{"id":"BELL-CVE-2007-4311","title":"CVE-2007-4311 does not affect BellSoft software","status":"withdrawn","published":"2007-08-13T21:17:00Z","modified":"2026-01-28T07:21:54.282822Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium"}],"updated_at":"2026-11-02T15:28:12.886815Z"},{"id":"DSA-1503-1","title":"kernelimage-2.4.27 - several issues","status":"published","published":"2008-02-22T00:00:00Z","modified":"2026-03-09T01:02:01.325678Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DSA-1503-2","title":"kernel-source-2.4.27 - several vulnerabilities","status":"published","published":"2008-03-06T00:00:00Z","modified":"2026-03-09T01:23:28.855538Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
