CVE-2005-2558
What it is
Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 2.3% 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: 2.3% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Record status
- Modified
Affected
- MySQL 4.1.0
- MySQL 4.1.3
- MySQL 4.1.10
- MySQL 5.0.1
- MySQL 5.0.2
- MySQL 5.0.3
- MySQL 5.0.4
- Oracle MySQL 4.0.0
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
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-2005-2558.md and follow it. Check whether this project is affected by CVE-2005-2558. 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://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html
- http://www.appsecinc.com/resources/alerts/mysql/2005-002.html
- http://www.securityfocus.com/bid/14509
- http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html
- http://www.appsecinc.com/resources/alerts/mysql/2005-002.html
- http://www.securityfocus.com/bid/14509
References
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.18.1/SCOSA-2006.18.1.txt
- http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html
- http://marc.info/?l=bugtraq&m=112354450412427&w=2
- http://secunia.com/advisories/17027
- http://secunia.com/advisories/20381
- http://secunia.com/advisories/29847
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-236703-1
- http://www.appsecinc.com/resources/alerts/mysql/2005-002.html
- http://www.debian.org/security/2005/dsa-829
- http://www.debian.org/security/2005/dsa-831
- http://www.debian.org/security/2005/dsa-833
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:163
- http://www.novell.com/linux/security/advisories/2005_21_sr.html
- http://www.redhat.com/archives/fedora-legacy-announce/2006-January/msg00005.html
- http://www.securityfocus.com/bid/14509
- http://www.vupen.com/english/advisories/2008/1326/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/21737
- https://www.ubuntu.com/usn/usn-180-1/
- https://www.ubuntu.com/usn/usn-180-2/
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.18.1/SCOSA-2006.18.1.txt
- http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035845.html
- http://marc.info/?l=bugtraq&m=112354450412427&w=2
- http://secunia.com/advisories/17027
- http://secunia.com/advisories/20381
- http://secunia.com/advisories/29847