{
  "@id": "urn:uuid:0830c0d8-5f54-43ce-9880-4ea2e3e7f04b",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 4,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-03T00:39:25.595079+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2019-17426 does not affect version 9.5.0-tuxcare.2 of mongoose. not_affected \u2014 CVE-2019-17426 affected Mongoose \u22645.7.4 where query objects with `_bsontype` attributes could bypass access control filters. The vulnerability stemmed from bson 1.x silently ignoring objects with this property. Mongoose 5.7.5 (Oct 2019) introduced a workaround by deleting `_bsontype` from queries. This workaround was later removed (Jan 2022) when Mongoose upgraded to bson 4.x, which no longer e...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2019-17426"
      },
      "impact_statement": "not_affected \u2014 CVE-2019-17426 affected Mongoose \u22645.7.4 where query objects with `_bsontype` attributes could bypass access control filters. The vulnerability stemmed from bson 1.x silently ignoring objects with this property. Mongoose 5.7.5 (Oct 2019) introduced a workaround by deleting `_bsontype` from queries. This workaround was later removed (Jan 2022) when Mongoose upgraded to bson 4.x, which no longer e..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2022-24304 does not affect version 9.5.0-tuxcare.2 of mongoose. not_affected \u2014 CVE-2022-24304 describes a Prototype Pollution vulnerability in Mongoose's Schema.path() function. The vulnerability allowed attackers to modify Object.prototype by passing paths containing '__proto__' (e.g., '__proto__.toString'). The target repository (mongoose v9.5.0) contains an upstream fix (commit 6a197316) that was shipped in the upstream release before TuxCare onboarded the code. The fi...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2022-24304"
      },
      "impact_statement": "not_affected \u2014 CVE-2022-24304 describes a Prototype Pollution vulnerability in Mongoose's Schema.path() function. The vulnerability allowed attackers to modify Object.prototype by passing paths containing '__proto__' (e.g., '__proto__.toString'). The target repository (mongoose v9.5.0) contains an upstream fix (commit 6a197316) that was shipped in the upstream release before TuxCare onboarded the code. The fi..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2022-2564 does not affect version 9.5.0-tuxcare.2 of mongoose. not_affected \u2014 CVE-2022-2564 describes a prototype pollution vulnerability in Mongoose's Schema.path() function that allowed modification of the Object prototype via malicious property names like '__proto__', 'constructor', or 'prototype'. The fix was applied upstream by Mongoose maintainer Valeri Karpov in commit 99b418941 (August 2022), which added checks to reject these special properties in both Schema.pr...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2022-2564"
      },
      "impact_statement": "not_affected \u2014 CVE-2022-2564 describes a prototype pollution vulnerability in Mongoose's Schema.path() function that allowed modification of the Object prototype via malicious property names like '__proto__', 'constructor', or 'prototype'. The fix was applied upstream by Mongoose maintainer Valeri Karpov in commit 99b418941 (August 2022), which added checks to reject these special properties in both Schema.pr..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2023-3696 does not affect version 9.5.0-tuxcare.2 of mongoose. not_affected \u2014 CVE-2023-3696 is NOT present in mongoose 9.5.0. The vulnerability, which allowed prototype pollution through MongoDB document initialization, was fixed in upstream release 7.3.3 (July 2023) by commit e29578d2ec. TuxCare onboarded version 9.5.0 on 2026-07-29, well after the upstream fix was applied. The defense code (specialProperties check at lib/document.js:764) is present and active in the cu...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2023-3696"
      },
      "impact_statement": "not_affected \u2014 CVE-2023-3696 is NOT present in mongoose 9.5.0. The vulnerability, which allowed prototype pollution through MongoDB document initialization, was fixed in upstream release 7.3.3 (July 2023) by commit e29578d2ec. TuxCare onboarded version 9.5.0 on 2026-07-29, well after the upstream fix was applied. The defense code (specialProperties check at lib/document.js:764) is present and active in the cu..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-12-02T20:43:32.103650+00:00",
      "status_notes": "Vulnerability CVE-2024-53900 does not affect version 9.5.0-tuxcare.2 of mongoose. CVE-2024-53900 is NOT present in Mongoose 9.5.0. The vulnerability (arbitrary JavaScript execution via $where in populate match filters) was fixed by upstream commit 64a9f9706 (authored by val@karpov.io on Jan 13, 2025) which was already included in the upstream release before any TuxCare maintenance began. The fix adds a recursive `throwOn$where()` validation function that rejects any match filter containing `$where` properties before query execution. This defense is present and active in the target at lines 201, 587, and 879-894 of lib/helpers/populate/getModelsMapForPopulate.js.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2024-53900"
      },
      "impact_statement": "CVE-2024-53900 is NOT present in Mongoose 9.5.0. The vulnerability (arbitrary JavaScript execution via $where in populate match filters) was fixed by upstream commit 64a9f9706 (authored by val@karpov.io on Jan 13, 2025) which was already included in the upstream release before any TuxCare maintenance began. The fix adds a recursive `throwOn$where()` validation function that rejects any match filter containing `$where` properties before query execution. This defense is present and active in the target at lines 201, 587, and 879-894 of lib/helpers/populate/getModelsMapForPopulate.js."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-12-02T20:45:00.522942+00:00",
      "status_notes": "Vulnerability CVE-2025-23061 does not affect version 9.5.0-tuxcare.2 of mongoose. Target Mongoose version 9.5.0 is not affected by CVE-2025-23061. The vulnerability involving nested $where operators in populate match filters was already fixed by the upstream vendor (Automattic/Mongoose) in commit 64a9f9706f2428c49e0cfb8e223065acc645f7bc on 2025-01-13. This commit introduced the recursive `throwOn$where()` function that blocks $where keys at any nesting depth within populate match objects, including when nested inside operators like $or and $and. The fix was authored by Valeri Karpov (val@karpov.io), the upstream Mongoose maintainer, and was present in the upstream release before TuxCare began maintaining this version.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2025-23061"
      },
      "impact_statement": "Target Mongoose version 9.5.0 is not affected by CVE-2025-23061. The vulnerability involving nested $where operators in populate match filters was already fixed by the upstream vendor (Automattic/Mongoose) in commit 64a9f9706f2428c49e0cfb8e223065acc645f7bc on 2025-01-13. This commit introduced the recursive `throwOn$where()` function that blocks $where keys at any nesting depth within populate match objects, including when nested inside operators like $or and $and. The fix was authored by Valeri Karpov (val@karpov.io), the upstream Mongoose maintainer, and was present in the upstream release before TuxCare began maintaining this version."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125116 is fixed in version 9.5.0-tuxcare.2 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125116"
      }
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125117 is fixed in version 9.5.0-tuxcare.2 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125117"
      }
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125118 is fixed in version 9.5.0-tuxcare.2 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125118"
      }
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125119 affects version 9.5.0-tuxcare.2 of mongoose, and is fixed in 9.5.0-tuxcare.3.",
      "vulnerability": {
        "name": "CVE-2026-125119"
      },
      "action_statement": "Vulnerability CVE-2026-125119 affects version 9.5.0-tuxcare.2 of mongoose, and is fixed in 9.5.0-tuxcare.3."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125120 is fixed in version 9.5.0-tuxcare.2 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125120"
      }
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-12-03T00:39:25.595079+00:00",
      "status_notes": "Vulnerability CVE-2026-142608 affects version 9.5.0-tuxcare.2 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-142608"
      },
      "action_statement": "Vulnerability CVE-2026-142608 affects version 9.5.0-tuxcare.2 of mongoose."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-12-02T20:45:00.522942+00:00",
      "status_notes": "Vulnerability CVE-2026-42334 does not affect version 9.5.0-tuxcare.2 of mongoose. The target Mongoose 9.5.0 repository is NOT AFFECTED by CVE-2026-42334. The vulnerability involves bypassing sanitizeFilter via the $nor operator, but the fix was already present in the upstream Mongoose 9.5.0 release before TuxCare onboarded it. The sanitizeFilter.js file at line 24 includes $nor in the list of logical operators that are recursively sanitized, preventing the attack. This is an upstream fix by val@karpov.io (commit b804e34e4d4cc670d7247fbd558c47412b4e5e01) that shipped in the upstream release.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-42334"
      },
      "impact_statement": "The target Mongoose 9.5.0 repository is NOT AFFECTED by CVE-2026-42334. The vulnerability involves bypassing sanitizeFilter via the $nor operator, but the fix was already present in the upstream Mongoose 9.5.0 release before TuxCare onboarded it. The sanitizeFilter.js file at line 24 includes $nor in the list of logical operators that are recursively sanitized, preventing the attack. This is an upstream fix by val@karpov.io (commit b804e34e4d4cc670d7247fbd558c47412b4e5e01) that shipped in the upstream release."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-73562 affects version 9.5.0-tuxcare.2 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-73562"
      },
      "action_statement": "Vulnerability CVE-2026-73562 affects version 9.5.0-tuxcare.2 of mongoose."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.5.0-tuxcare.2",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.5.0-tuxcare.2"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability GHSA-r5xw-q988-826m does not affect version 9.5.0-tuxcare.2 of mongoose. not_affected \u2014 The target is mongoose version 9.5.0, which is not affected by GHSA-r5xw-q988-826m (remote memory exposure when saving numbers to Buffer fields). The vulnerability was fixed in upstream versions 4.3.6 and 3.8.39 (released January 2016), and this fix is present in version 9.5.0 at lib/schema/buffer.js:214-216. The fix wraps numeric values in an array before passing to the MongooseBuffer construc...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-r5xw-q988-826m"
      },
      "impact_statement": "not_affected \u2014 The target is mongoose version 9.5.0, which is not affected by GHSA-r5xw-q988-826m (remote memory exposure when saving numbers to Buffer fields). The vulnerability was fixed in upstream versions 4.3.6 and 3.8.39 (released January 2016), and this fix is present in version 9.5.0 at lib/schema/buffer.js:214-216. The fix wraps numeric values in an array before passing to the MongooseBuffer construc..."
    }
  ]
}
