ubuntu-cve-2022-35737
Vulnerability from osv_ubuntu
Published
2022-08-03 06:15
Modified
2026-05-20 14:56
Summary
Details

SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.8.2-1ubuntu2.2+esm3"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.8.2-1ubuntu2.2+esm3"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.8.2-1ubuntu2.2+esm3"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.8.2-1ubuntu2.2+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.8.2-1ubuntu2.2+esm3?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.8.2-1ubuntu2.2+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.7.17-1ubuntu1",
        "3.8.0.2-1ubuntu1",
        "3.8.1-1ubuntu1",
        "3.8.1-1ubuntu3",
        "3.8.2-1ubuntu1",
        "3.8.2-1ubuntu2",
        "3.8.2-1ubuntu2.1",
        "3.8.2-1ubuntu2.2",
        "3.8.2-1ubuntu2.2+esm1",
        "3.8.2-1ubuntu2.2+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsqlite-tcl",
            "binary_version": "2.8.17-12fakesync1"
          },
          {
            "binary_name": "libsqlite0",
            "binary_version": "2.8.17-12fakesync1"
          },
          {
            "binary_name": "sqlite",
            "binary_version": "2.8.17-12fakesync1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "sqlite",
        "purl": "pkg:deb/ubuntu/sqlite@2.8.17-12fakesync1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.8.17-12fakesync1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.11.0-1ubuntu1.5+esm2"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.11.0-1ubuntu1.5+esm2"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.11.0-1ubuntu1.5+esm2"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.11.0-1ubuntu1.5+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.11.0-1ubuntu1.5+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.11.0-1ubuntu1.5+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.11.1-1",
        "3.9.1-2",
        "3.9.2-1",
        "3.10.0-1",
        "3.10.1-1",
        "3.10.2-1",
        "3.11.0-1ubuntu1",
        "3.11.0-1ubuntu1.1",
        "3.11.0-1ubuntu1.2",
        "3.11.0-1ubuntu1.3",
        "3.11.0-1ubuntu1.4",
        "3.11.0-1ubuntu1.5",
        "3.11.0-1ubuntu1.5+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.22.0-1ubuntu0.7"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.22.0-1ubuntu0.7"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.22.0-1ubuntu0.7"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.22.0-1ubuntu0.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.22.0-1ubuntu0.7?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.22.0-1ubuntu0.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.19.3-3",
        "3.20.1-2",
        "3.21.0-1",
        "3.22.0-1",
        "3.22.0-1ubuntu0.1",
        "3.22.0-1ubuntu0.2",
        "3.22.0-1ubuntu0.3",
        "3.22.0-1ubuntu0.4",
        "3.22.0-1ubuntu0.5",
        "3.22.0-1ubuntu0.6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.31.1-4ubuntu0.5"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.31.1-4ubuntu0.5"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.31.1-4ubuntu0.5"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.31.1-4ubuntu0.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.31.1-4ubuntu0.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.31.1-4ubuntu0.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.29.0-2",
        "3.30.1-1",
        "3.30.1-1ubuntu1",
        "3.31.1-1ubuntu1",
        "3.31.1-3",
        "3.31.1-4",
        "3.31.1-4ubuntu0.1",
        "3.31.1-4ubuntu0.2",
        "3.31.1-4ubuntu0.3",
        "3.31.1-4ubuntu0.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.37.2-2ubuntu0.1"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.37.2-2ubuntu0.1"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.37.2-2ubuntu0.1"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.37.2-2ubuntu0.1"
          },
          {
            "binary_name": "sqlite3-tools",
            "binary_version": "3.37.2-2ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.37.2-2ubuntu0.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.37.2-2ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.35.5-1",
        "3.36.0-2",
        "3.37.2-2"
      ]
    }
  ],
  "aliases": [],
  "details": "SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.",
  "id": "UBUNTU-CVE-2022-35737",
  "modified": "2026-05-20T14:56:06Z",
  "published": "2022-08-03T06:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-35737"
    },
    {
      "type": "REPORT",
      "url": "https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5712-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5716-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5716-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-35737"
    }
  ],
  "related": [
    "USN-5712-1",
    "USN-5716-1",
    "USN-5716-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-35737"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…