{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-46337",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-04-22T22:41:54.912Z",
        "datePublished": "2025-05-01T17:20:10.658Z",
        "dateUpdated": "2025-05-26T18:03:45.346Z"
    },
    "containers": {
        "cna": {
            "title": "SQL injection in ADOdb PostgreSQL driver pg_insert_id() method",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 10,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/ADOdb/ADOdb/security/advisories/GHSA-8x27-jwjr-8545"
                },
                {
                    "name": "https://github.com/ADOdb/ADOdb/issues/1070",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/ADOdb/ADOdb/issues/1070"
                },
                {
                    "name": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/ADOdb/ADOdb/commit/11107d6d6e5160b62e05dff8a3a2678cf0e3a426"
                }
            ],
            "affected": [
                {
                    "vendor": "ADOdb",
                    "product": "ADOdb",
                    "versions": [
                        {
                            "version": "< 5.22.9",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-05-01T17:20:10.658Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "ADOdb is a PHP database class library that provides abstractions for performing queries and managing databases. Prior to version 5.22.9, improper escaping of a query parameter may allow an attacker to execute arbitrary SQL statements when the code using ADOdb connects to a PostgreSQL database and calls pg_insert_id() with user-supplied data. This issue has been patched in version 5.22.9."
                }
            ],
            "source": {
                "advisory": "GHSA-8x27-jwjr-8545",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-05-02T17:57:27.460605Z",
                                "id": "CVE-2025-46337",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-05-02T17:57:58.870Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://xaliom.blogspot.com/2025/05/from-sast-to-cve-2025-46337.html"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00029.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-05-26T18:03:45.346Z"
                }
            }
        ]
    }
}