Executive Summary

Informations
Name CVE-2009-2942 First vendor Publication 2009-10-22
Vendor Cve Last vendor Modification 2009-10-27

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2942

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:13669
 
Oval ID: oval:org.mitre.oval:def:13669
Title: DSA-1910-1 mysql-ocaml -- missing escape function
Description: It was discovered that mysql-ocaml, OCaml bindings for MySql, was missing a function to call mysql_real_escape_string. This is needed, because mysql_real_escape_string honours the charset of the connection and prevents insufficient escaping, when certain multibyte character encodings are used. The added function is called real_escape and takes the established database connection as a first argument. The old escape_string was kept for backwards compatibility. Developers using these bindings are encouraged to adjust their code to use the new function. For the stable distribution, this problem has been fixed in version 1.0.4-4+lenny1. For the oldstable distribution, this problem has been fixed in version 1.0.4-2+etch1. For the testing distribution and the unstable distribution , this problem will be fixed soon. We recommend that you upgrade your mysql-ocaml packages.
Family: unix Class: patch
Reference(s): DSA-1910-1
CVE-2009-2942
Version: 5
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 4.0
Product(s): mysql-ocaml
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:7959
 
Oval ID: oval:org.mitre.oval:def:7959
Title: DSA-1910 mysql-ocaml -- missing escape function
Description: It was discovered that mysql-ocaml, OCaml bindings for MySql, was missing a function to call mysql_real_escape_string(). This is needed, because mysql_real_escape_string() honours the charset of the connection and prevents insufficient escaping, when certain multibyte character encodings are used. The added function is called real_escape() and takes the established database connection as a first argument. The old escape_string() was kept for backwards compatibility. Developers using these bindings are encouraged to adjust their code to use the new function.
Family: unix Class: patch
Reference(s): DSA-1910
CVE-2009-2942
Version: 3
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 4.0
Product(s): mysql-ocaml
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

OpenVAS Exploits

Date Description
2009-11-17 Name : Fedora Core 10 FEDORA-2009-10582 (ocaml-mysql)
File : nvt/fcore_2009_10582.nasl
2009-11-17 Name : Fedora Core 11 FEDORA-2009-10701 (ocaml-mysql)
File : nvt/fcore_2009_10701.nasl
2009-10-19 Name : Debian Security Advisory DSA 1910-1 (mysql-ocaml)
File : nvt/deb_1910_1.nasl
2009-10-19 Name : Mandrake Security Advisory MDVSA-2009:279 (ocaml-mysql)
File : nvt/mdksa_2009_279.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
59030 mysql-ocaml for MySQL mysql_real_escape_string() Function Character Escaping ...

Nessus® Vulnerability Scanner

Date Description
2010-02-24 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1910.nasl - Type : ACT_GATHER_INFO
2009-11-11 Name : The remote Fedora host is missing a security update.
File : fedora_2009-10582.nasl - Type : ACT_GATHER_INFO
2009-11-11 Name : The remote Fedora host is missing a security update.
File : fedora_2009-10701.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

Source Url
DEBIAN http://www.debian.org/security/2009/dsa-1910
MANDRIVA http://www.mandriva.com/security/advisories?name=MDVSA-2009:279
OSVDB http://www.osvdb.org/59030
SECUNIA http://secunia.com/advisories/37047

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
Date Informations
2020-05-23 00:24:13
  • Multiple Updates
2016-06-28 17:48:28
  • Multiple Updates
2016-04-26 19:03:47
  • Multiple Updates
2014-02-17 10:51:20
  • Multiple Updates
2013-05-10 23:56:05
  • Multiple Updates