Menu

Star on GitHub · 3.2k

CVE-2003-1331

4.0 · MEDIUM

Stack-based buffer overflow in the mysql_real_connect function in the MySql client library (libmysqlclient) 4.0.13 and earlier allows local users to execute arbitrary code via a long socket name, a…

Published Dec 31, 2003oracleEPSS 3.28%

Overview

CVE-2003-1331 is a medium-severity vulnerability affecting oracle mysql. It was published on December 31, 2003 and has a CVSS 2.0 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 4.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

Stack-based buffer overflow in the mysql_real_connect function in the MySql client library (libmysqlclient) 4.0.13 and earlier allows local users to execute arbitrary code via a long socket name, a different vulnerability than CVE-2001-1453.

Remediation

Check the references section for vendor advisories and patches from oracle. Update mysql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
oraclemysql0Affected

Frequently asked questions

What is CVE-2003-1331?

CVE-2003-1331 is a medium-severity vulnerability affecting oracle mysql. It was published on December 31, 2003 and has a CVSS 2.0 base score of 4.0 (MEDIUM).

How severe is CVE-2003-1331?

This vulnerability has a CVSS 2.0 base score of 4.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2003-1331?

Check the references section for vendor advisories and patches from oracle. Update mysql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2003-1331?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2003-1331 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2003

View all