{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-7009",
        "assignerOrgId": "b1571b85-cbc9-431f-830b-0c8155323a69",
        "state": "PUBLISHED",
        "assignerShortName": "STAR_Labs",
        "dateReserved": "2024-07-23T03:50:21.540Z",
        "datePublished": "2024-08-06T03:40:33.075Z",
        "dateUpdated": "2024-08-06T13:37:59.031Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Calibre",
                    "repo": "https://github.com/kovidgoyal/calibre",
                    "vendor": "Calibre",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "7.15.0"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Devesh Logendran of STAR Labs SG Pte. Ltd. (@starlabs_sg)"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "&nbsp;Unsanitized user-input in Calibre &lt;= 7.15.0 allow users with permissions to perform full-text searches to achieve SQL injection on the SQLite database."
                        }
                    ],
                    "value": "Unsanitized user-input in Calibre <= 7.15.0 allow users with permissions to perform full-text searches to achieve SQL injection on the SQLite database."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-66",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-66 SQL Injection"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.2,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "b1571b85-cbc9-431f-830b-0c8155323a69",
                "shortName": "STAR_Labs",
                "dateUpdated": "2024-08-06T03:40:33.075Z"
            },
            "references": [
                {
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://starlabs.sg/advisories/24/24-7009/"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/kovidgoyal/calibre/commit/d56574285e8859d3d715eb7829784ee74337b7d7"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Calibre SQL Injection",
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "kovidgoyal",
                        "product": "calibre",
                        "cpes": [
                            "cpe:2.3:a:kovidgoyal:calibre:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThanOrEqual": "7.15.0",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-06T13:15:35.411350Z",
                                "id": "CVE-2024-7009",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-06T13:37:59.031Z"
                }
            }
        ]
    }
}