CVE-2013-1828
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.0% 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: 1.0% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.0% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Linux Kernel < 3.8.4
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:C/I:C/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-1828.md and follow it. Check whether this project is affected by CVE-2013-1828. 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
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=726bc6b092da4c093eb74d13c07184b18c1af0f1
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4
- 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://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4
- https://github.com/torvalds/linux/commit/726bc6b092da4c093eb74d13c07184b18c1af0f1
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
- 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