{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2025-23061",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2025-01-15T15:11:21.314Z",
        "dateReserved": "2025-01-10T00:00:00.000Z",
        "datePublished": "2025-01-15T00:00:00.000Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unknown",
                    "product": "Mongoose",
                    "vendor": "mongoosejs",
                    "versions": [
                        {
                            "lessThan": "6.13.6",
                            "status": "affected",
                            "version": "6.0.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "7.8.4",
                            "status": "affected",
                            "version": "7.0.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "8.9.5",
                            "status": "affected",
                            "version": "8.0.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-94",
                            "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2025-01-15T04:51:55.930Z"
            },
            "references": [
                {
                    "url": "https://www.npmjs.com/package/mongoose?activeTab=versions"
                },
                {
                    "url": "https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md"
                },
                {
                    "url": "https://github.com/Automattic/mongoose/releases/tag/8.9.5"
                },
                {
                    "url": "https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc"
                }
            ],
            "x_generator": {
                "engine": "enrichogram 0.0.1"
            },
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 9,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
                    }
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0.0",
                                    "versionEndExcluding": "6.13.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.0.0",
                                    "versionEndExcluding": "7.8.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "8.0.0",
                                    "versionEndExcluding": "8.9.5"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-01-15T15:10:29.550980Z",
                                "id": "CVE-2025-23061",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "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-01-15T15:11:21.314Z"
                }
            }
        ]
    },
    "dataVersion": "5.1"
}