{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2005-1636 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2005-1636 is a medium-severity path traversal vulnerability in Mysql Mysql, published on 17 May 2005. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2005-1636 and fix it if it is affected.\n\nWhat it is: CVE-2005-1636 is a medium-severity path traversal vulnerability in Mysql Mysql, published on 17 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2005-1636 in the wild and no public exploit code.\n\nAffected product: Mysql Mysql. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2005-1636/ (Markdown: https://insights.sbomify.com/CVE-2005-1636/index.md)","id":"CVE-2005-1636","markdown":"https://insights.sbomify.com/CVE-2005-1636/index.md","name":"CVE-2005-1636","record":{"aliases":["DSA-783-1","GHSA-pww4-5979-pcmm","RHSA-2005:685"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MySQL database","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary SQL commands by exploiting predictable filenames and insecure permissions in mysql_install_db.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mysql","vendor":"mysql"},{"product":"mysql","vendor":"oracle"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"mysql_install_db in MySQL 4.1.x before 4.1.12 and 5.x up to 5.0.4 creates the mysql_install_db.X file with a predictable filename and insecure permissions, which allows local users to execute arbitrary SQL commands by modifying the file's contents.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2005-1636","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mysql:mysql","products":["mysql:mysql","oracle:mysql"],"type":"path_traversal","year":"2005"},"n_packages":20,"n_references":9,"next":{"headline":"SQL injection in n/a","id":"CVE-2005-1637"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-bench","purl":"pkg:rpm/redhat/mysql-bench","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-devel","purl":"pkg:rpm/redhat/mysql-devel","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-server","purl":"pkg:rpm/redhat/mysql-server","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-bench","purl":"pkg:rpm/redhat/mysql-bench","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-devel","purl":"pkg:rpm/redhat/mysql-devel","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-server","purl":"pkg:rpm/redhat/mysql-server","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-bench","purl":"pkg:rpm/redhat/mysql-bench","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-devel","purl":"pkg:rpm/redhat/mysql-devel","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-server","purl":"pkg:rpm/redhat/mysql-server","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-bench","purl":"pkg:rpm/redhat/mysql-bench","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-devel","purl":"pkg:rpm/redhat/mysql-devel","source":"RHSA-2005:685"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:4.1.12-3.RHEL4.1"],"introduced":["0"],"last_affected":[],"package":"mysql-server","purl":"pkg:rpm/redhat/mysql-server","source":"RHSA-2005:685"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2005-1635"},"products":["n/a"],"published":"2005-05-17","related":[{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2004-0627","kev_date_added":null,"published":"2004-07-08"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0628","kev_date_added":null,"published":"2004-07-08"},{"cvss_score":8.5,"headline":"Other in n/a","id":"CVE-2009-2446","kev_date_added":null,"published":"2009-07-13"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2012-0553","kev_date_added":null,"published":"2013-03-28"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2013-1492","kev_date_added":null,"published":"2013-03-28"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2012-0882","kev_date_added":null,"published":"2012-12-21"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2006-2753","kev_date_added":null,"published":"2006-06-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary SQL commands by exploiting predictable filenames and insecure permissions in mysql_install_db.","url":"https://insights.sbomify.com/CVE-2005-1636/"}