Skip to content
Heist/ feed
Back to feed
HighFix available

sqlite — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2023-7104

A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-248999.

Products
sqlite
Affected versions
Not specified
Fixed versions
3.40.1-r1, 3.41.2-r3
CVEs
CVE-2023-7104
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:07 UTC · Revision 1

Source evidence

ALPINE-CVE-2023-7104

core-osv · Original source

Published 29 Dec 2023, 10:15 UTC

A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-248999.

osv:ALPINE-CVE-2023-7104

sqlite

Fixed versions: 3.40.1-r1

sqlite

Fixed versions: 3.40.1-r1

sqlite

Fixed versions: 3.41.2-r3

Complete source record
{
  "id": "b54b30ebfcfa533426170cf60cfc1512ed9cddd2f41da747fa1001d4dea57e23",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-7104",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2023-7104",
    "summary": "A vulnerability was found in SQLite SQLite3 up to 3.43.0 and classified as critical. This issue affects the function sessionReadRecord of the file ext/session/sqlite3session.c of the component make alltest Handler. The manipulation leads to heap-based buffer overflow. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-248999.",
    "evidence": "osv:ALPINE-CVE-2023-7104",
    "products": [
      {
        "name": {
          "value": "sqlite",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.40.1-r1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "sqlite",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.40.1-r1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "sqlite",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.41.2-r3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "ALPINE-CVE-2023-7104",
      "aliases": [
        "ALPINE-CVE-2023-7104"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.40.1-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite",
            "purl": "pkg:apk/alpine/sqlite?arch=source",
            "ecosystem": "Alpine:v3.16"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-7104.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.40.1-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite",
            "purl": "pkg:apk/alpine/sqlite?arch=source",
            "ecosystem": "Alpine:v3.17"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-7104.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.41.2-r3"
                }
              ]
            }
          ],
          "package": {
            "name": "sqlite",
            "purl": "pkg:apk/alpine/sqlite?arch=source",
            "ecosystem": "Alpine:v3.18"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-7104.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T17:17:58.671168995Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-7104"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2023-7104"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-7104",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 454594,
  "published_at": "2023-12-29T10:15:13.89+00:00"
}