ID CVE-2010-3840
Summary The Gis_line_string::init_from_wkb function in sql/spatial.cc in MySQL 5.1 before 5.1.51 allows remote authenticated users to cause a denial of service (server crash) by calling the PolyFromWKB function with Well-Known Binary (WKB) data containing a crafted number of (1) line strings or (2) line points.
References
Vulnerable Configurations
  • cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.31:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.31:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.32:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.32:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.34:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.34:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.37:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.37:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.18:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.18:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.19:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.19:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.20:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.20:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.21:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.21:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.22:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.22:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.23:a:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.23:a:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.24:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.24:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.25:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.25:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.26:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.26:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.27:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.27:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.28:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.28:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.29:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.29:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.30:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.30:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.31:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.31:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.33:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.33:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.34:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.34:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.35:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.35:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.36:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.36:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.37:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.37:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.38:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.38:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.39:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.39:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.40:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.40:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.40:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.40:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.41:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.41:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.42:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.42:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.43:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.43:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.43:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.43:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.44:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.44:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.45:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.45:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.46:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.46:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.46:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.46:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.47:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.47:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.48:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.48:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.49:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.49:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.49:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.49:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.50:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.50:*:*:*:*:*:*:*
CVSS
Base: 4.0 (as of 05-01-2018 - 02:29)
Impact:
Exploitability:
CWE NVD-CWE-Other
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:S/C:N/I:N/A:P
redhat via4
advisories
  • bugzilla
    id 640865
    title CVE-2010-3840 MySQL: crash when loading data into geometry function PolyFromWKB() (MySQL Bug#51875)
    oval
    AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment mysql is earlier than 0:4.1.22-2.el4_8.4
          oval oval:com.redhat.rhsa:tst:20100824002
        • comment mysql is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070152003
      • AND
        • comment mysql-bench is earlier than 0:4.1.22-2.el4_8.4
          oval oval:com.redhat.rhsa:tst:20100824008
        • comment mysql-bench is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070152007
      • AND
        • comment mysql-devel is earlier than 0:4.1.22-2.el4_8.4
          oval oval:com.redhat.rhsa:tst:20100824006
        • comment mysql-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070152005
      • AND
        • comment mysql-server is earlier than 0:4.1.22-2.el4_8.4
          oval oval:com.redhat.rhsa:tst:20100824004
        • comment mysql-server is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070152009
    rhsa
    id RHSA-2010:0824
    released 2010-11-03
    severity Moderate
    title RHSA-2010:0824: mysql security update (Moderate)
  • bugzilla
    id 640865
    title CVE-2010-3840 MySQL: crash when loading data into geometry function PolyFromWKB() (MySQL Bug#51875)
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment mysql is earlier than 0:5.0.77-4.el5_5.4
          oval oval:com.redhat.rhsa:tst:20100825002
        • comment mysql is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070875012
      • AND
        • comment mysql-bench is earlier than 0:5.0.77-4.el5_5.4
          oval oval:com.redhat.rhsa:tst:20100825008
        • comment mysql-bench is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070875018
      • AND
        • comment mysql-devel is earlier than 0:5.0.77-4.el5_5.4
          oval oval:com.redhat.rhsa:tst:20100825004
        • comment mysql-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070875014
      • AND
        • comment mysql-server is earlier than 0:5.0.77-4.el5_5.4
          oval oval:com.redhat.rhsa:tst:20100825010
        • comment mysql-server is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070875016
      • AND
        • comment mysql-test is earlier than 0:5.0.77-4.el5_5.4
          oval oval:com.redhat.rhsa:tst:20100825006
        • comment mysql-test is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070875020
    rhsa
    id RHSA-2010:0825
    released 2010-11-03
    severity Moderate
    title RHSA-2010:0825: mysql security update (Moderate)
  • bugzilla
    id 640865
    title CVE-2010-3840 MySQL: crash when loading data into geometry function PolyFromWKB() (MySQL Bug#51875)
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhba:tst:20111656001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhba:tst:20111656002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20111656004
    • OR
      • AND
        • comment mysql is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164005
        • comment mysql is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647006
      • AND
        • comment mysql-bench is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164007
        • comment mysql-bench is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647020
      • AND
        • comment mysql-devel is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164015
        • comment mysql-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647008
      • AND
        • comment mysql-embedded is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164009
        • comment mysql-embedded is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647012
      • AND
        • comment mysql-embedded-devel is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164019
        • comment mysql-embedded-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647014
      • AND
        • comment mysql-libs is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164013
        • comment mysql-libs is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647010
      • AND
        • comment mysql-server is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164011
        • comment mysql-server is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647018
      • AND
        • comment mysql-test is earlier than 0:5.1.52-1.el6_0.1
          oval oval:com.redhat.rhsa:tst:20110164017
        • comment mysql-test is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20131647016
    rhsa
    id RHSA-2011:0164
    released 2011-01-18
    severity Moderate
    title RHSA-2011:0164: mysql security update (Moderate)
rpms
  • mysql-0:4.1.22-2.el4_8.4
  • mysql-bench-0:4.1.22-2.el4_8.4
  • mysql-devel-0:4.1.22-2.el4_8.4
  • mysql-server-0:4.1.22-2.el4_8.4
  • mysql-0:5.0.77-4.el5_5.4
  • mysql-bench-0:5.0.77-4.el5_5.4
  • mysql-devel-0:5.0.77-4.el5_5.4
  • mysql-server-0:5.0.77-4.el5_5.4
  • mysql-test-0:5.0.77-4.el5_5.4
  • mysql-0:5.1.52-1.el6_0.1
  • mysql-bench-0:5.1.52-1.el6_0.1
  • mysql-devel-0:5.1.52-1.el6_0.1
  • mysql-embedded-0:5.1.52-1.el6_0.1
  • mysql-embedded-devel-0:5.1.52-1.el6_0.1
  • mysql-libs-0:5.1.52-1.el6_0.1
  • mysql-server-0:5.1.52-1.el6_0.1
  • mysql-test-0:5.1.52-1.el6_0.1
refmap via4
bid 43676
confirm
debian DSA-2143
mandriva
  • MDVSA-2010:222
  • MDVSA-2010:223
misc http://lists.mysql.com/commits/117094
secunia
  • 42875
  • 42936
turbo TLSA-2011-3
ubuntu
  • USN-1017-1
  • USN-1397-1
vupen
  • ADV-2011-0105
  • ADV-2011-0170
  • ADV-2011-0345
xf mysql-gislinestringinitfromwkb-dos(64838)
Last major update 05-01-2018 - 02:29
Published 14-01-2011 - 19:02
Last modified 17-12-2019 - 20:23
Back to Top