CVE-2004-2013
What it is
Integer overflow in the SCTP_SOCKOPT_DEBUG_NAME SCTP socket option in socket.c in the Linux kernel 2.4.25 and earlier allows local users to execute arbitrary code via an optlen value of -1, which causes kmalloc to allocate 0 bytes of memory.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.6% 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.6% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-190 · Integer overflow
- Record status
- Modified
Affected
- Linux Kernel ≤ 2.4.25
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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-2004-2013.md and follow it. Check whether this project is affected by CVE-2004-2013. 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://archives.neohapsis.com/archives/bugtraq/2004-05/0091.html
- http://marc.info/?l=bugtraq&m=108456230815842&w=2
- http://archives.neohapsis.com/archives/bugtraq/2004-05/0091.html
- http://marc.info/?l=bugtraq&m=108456230815842&w=2
References
- http://archives.neohapsis.com/archives/bugtraq/2004-05/0091.html
- http://lists.netsys.com/pipermail/full-disclosure/2004-May/021223.html
- http://marc.info/?l=bugtraq&m=108456230815842&w=2
- http://www.securityfocus.com/bid/10326
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16117
- http://archives.neohapsis.com/archives/bugtraq/2004-05/0091.html
- http://lists.netsys.com/pipermail/full-disclosure/2004-May/021223.html
- http://marc.info/?l=bugtraq&m=108456230815842&w=2
- http://www.securityfocus.com/bid/10326
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16117