What’s Vulnerable › Vulnerabilities
CVE-2013-1828
- Severity: medium (CVSS 6.9 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2013-03-22 · updated 2026-06-16
- Weakness: CWE-20
Description
The sctp_getsockopt_assoc_stats function in net/sctp/socket.c in the Linux kernel before 3.8.4 does not validate a size value before proceeding to a copy_from_user operation, which allows local users to gain privileges via a crafted application that contains an SCTP_GET_ASSOC_STATS getsockopt system call.
Affected products
- Linux kernel: from 3.8 before 3.8.4 — fixed in 3.8.4
How to fix
Upgrade to a fixed version: Linux kernel 3.8.4. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=726bc6b092da4c093eb74d13c07184b18c1af0f1
- http://grsecurity.net/~spender/sctp.c
- http://twitter.com/grsecurity/statuses/309805924749541376
- http://www.exploit-db.com/exploits/24747
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4
- http://www.openwall.com/lists/oss-security/2013/03/08/2
- https://bugzilla.redhat.com/show_bug.cgi?id=919315
- https://github.com/torvalds/linux/commit/726bc6b092da4c093eb74d13c07184b18c1af0f1
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=726bc6b092da4c093eb74d13c07184b18c1af0f1
- http://grsecurity.net/~spender/sctp.c
- http://twitter.com/grsecurity/statuses/309805924749541376
- http://www.exploit-db.com/exploits/24747
Get alerted when CVE-2013-1828 or the next vulnerability affects your stack