CVE-2013-1772
What it is
The log_prefix function in kernel/printk.c in the Linux kernel 3.x before 3.4.33 does not properly remove a prefix string from a syslog header, which allows local users to cause a denial of service (buffer overflow and system crash) by leveraging /dev/kmsg write access and triggering a call_console_drivers function call.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 4.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Linux Kernel 3.0
- Linux Kernel 3.0.1
- Linux Kernel 3.0.2
- Linux Kernel 3.0.3
- Linux Kernel 3.0.4
- Linux Kernel 3.0.5
- Linux Kernel 3.0.6
- Linux Kernel 3.0.7
Attack profile CVSS 2.0 · 4.0
- Attack vector
- Local
- Complexity
- High
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Complete
Raw vector
AV:L/AC:H/Au:N/C:N/I:N/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-1772.md and follow it. Check whether this project is affected by CVE-2013-1772. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/torvalds/linux/commit/ce0030c00f95cf9110d9cdcd41e901e1fb814417
- https://github.com/torvalds/linux/commit/ce0030c00f95cf9110d9cdcd41e901e1fb814417
References
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00018.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.33
- http://www.openwall.com/lists/oss-security/2013/02/26/9
- https://bugzilla.redhat.com/show_bug.cgi?id=916075
- https://github.com/torvalds/linux/commit/ce0030c00f95cf9110d9cdcd41e901e1fb814417
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00018.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.33
- http://www.openwall.com/lists/oss-security/2013/02/26/9
- https://bugzilla.redhat.com/show_bug.cgi?id=916075
- https://github.com/torvalds/linux/commit/ce0030c00f95cf9110d9cdcd41e901e1fb814417