{
  "@id": "urn:uuid:f3abee3c-0588-42cf-87ac-fb67599dc4c8",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 4,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-03T00:39:50.261119+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2019-17426 does not affect version 9.7.4-tuxcare.1 of mongoose. not_affected \u2014 CVE-2019-17426 affected Mongoose through version 5.7.4 due to a bson 1.x parser bug where query filters with top-level `_bsontype` properties were ignored, enabling access control bypass. Target version 9.7.4 uses mongodb ~7.2 with bson 4.x+, which fixed the underlying parser bug. The workaround code that deleted `_bsontype` was intentionally removed in 2022 (commit 94570a640) as obsolete after...",
      "justification": "vulnerable_code_not_in_execute_path",
      "vulnerability": {
        "name": "CVE-2019-17426"
      },
      "impact_statement": "not_affected \u2014 CVE-2019-17426 affected Mongoose through version 5.7.4 due to a bson 1.x parser bug where query filters with top-level `_bsontype` properties were ignored, enabling access control bypass. Target version 9.7.4 uses mongodb ~7.2 with bson 4.x+, which fixed the underlying parser bug. The workaround code that deleted `_bsontype` was intentionally removed in 2022 (commit 94570a640) as obsolete after..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2022-24304 does not affect version 9.7.4-tuxcare.1 of mongoose. not_affected \u2014 CVE-2022-24304 describes a Prototype Pollution vulnerability in Mongoose's Schema.path() function. Analysis of Mongoose v9.7.4 at SHA 37b57df880f8efc65f6cce15946ff2cc2e1b5c46 confirms the target is NOT AFFECTED. The vulnerable pattern is not present because an upstream fix (commit 6a1973165) authored by Valeri Karpov (val@karpov.io) was already included in the upstream release before TuxCare on...",
      "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. Analysis of Mongoose v9.7.4 at SHA 37b57df880f8efc65f6cce15946ff2cc2e1b5c46 confirms the target is NOT AFFECTED. The vulnerable pattern is not present because an upstream fix (commit 6a1973165) authored by Valeri Karpov (val@karpov.io) was already included in the upstream release before TuxCare on..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2022-2564 does not affect version 9.7.4-tuxcare.1 of mongoose. not_affected \u2014 CVE-2022-2564 (prototype pollution in Schema.path()) was fixed by upstream Mongoose in July 2022 (commit 6a19731), 4 years before TuxCare began maintaining this repository. The fix blocks special properties (__proto__, constructor, prototype) in three critical locations: Schema.prototype.add() (line 799), Schema.prototype.path() last-segment check (line 1301), and Schema.prototype.path() all-se...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2022-2564"
      },
      "impact_statement": "not_affected \u2014 CVE-2022-2564 (prototype pollution in Schema.path()) was fixed by upstream Mongoose in July 2022 (commit 6a19731), 4 years before TuxCare began maintaining this repository. The fix blocks special properties (__proto__, constructor, prototype) in three critical locations: Schema.prototype.add() (line 799), Schema.prototype.path() last-segment check (line 1301), and Schema.prototype.path() all-se..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2023-3696 does not affect version 9.7.4-tuxcare.1 of mongoose. not_affected \u2014 CVE-2023-3696 prototype pollution vulnerability is NOT present in mongoose 9.7.4. The fix was applied in upstream commit e29578d2ec (July 2023) as part of version 7.3.3, and is present in the current version. The fix adds checks to skip special properties (__proto__, constructor, prototype) during document initialization, preventing prototype pollution attacks.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2023-3696"
      },
      "impact_statement": "not_affected \u2014 CVE-2023-3696 prototype pollution vulnerability is NOT present in mongoose 9.7.4. The fix was applied in upstream commit e29578d2ec (July 2023) as part of version 7.3.3, and is present in the current version. The fix adds checks to skip special properties (__proto__, constructor, prototype) during document initialization, preventing prototype pollution attacks."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T20:45:00.522942+00:00",
      "status_notes": "Vulnerability CVE-2024-53900 does not affect version 9.7.4-tuxcare.1 of mongoose. The target repository (mongoose 9.7.4, SHA 37b57df880f8efc65f6cce15946ff2cc2e1b5c46) is not affected by CVE-2024-53900. The upstream vendor (Automattic/mongoose) applied the fix in commit 64a9f9706f on 2025-01-13, authored by Valeri Karpov. This fix was included in the 9.7.4 release (2026-07-06) before TuxCare onboarded this version. The defense function `throwOn$where` comprehensively blocks $where operators in populate() match filters by recursively checking for $where keys and throwing an error before the match is used.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2024-53900"
      },
      "impact_statement": "The target repository (mongoose 9.7.4, SHA 37b57df880f8efc65f6cce15946ff2cc2e1b5c46) is not affected by CVE-2024-53900. The upstream vendor (Automattic/mongoose) applied the fix in commit 64a9f9706f on 2025-01-13, authored by Valeri Karpov. This fix was included in the 9.7.4 release (2026-07-06) before TuxCare onboarded this version. The defense function `throwOn$where` comprehensively blocks $where operators in populate() match filters by recursively checking for $where keys and throwing an error before the match is used."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T20:45:00.522942+00:00",
      "status_notes": "Vulnerability CVE-2025-23061 does not affect version 9.7.4-tuxcare.1 of mongoose. CVE-2025-23061 affects Mongoose versions prior to 8.9.5, 7.8.4, and 6.13.6 due to incomplete fix for CVE-2024-53900. The vulnerability allowed nested $where operators (e.g., within $or, $and) to bypass the shallow top-level check in populate() match filters, enabling arbitrary JavaScript execution. Target version 9.7.4 contains the complete fix: recursive `throwOn$where()` function that detects $where at ANY nesting level. The fix was authored by upstream maintainer val@karpov.io in commit 64a9f9706 and shipped in the upstream release before TuxCare onboarded version 9.7.4. The vulnerable pattern is not present in the target.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2025-23061"
      },
      "impact_statement": "CVE-2025-23061 affects Mongoose versions prior to 8.9.5, 7.8.4, and 6.13.6 due to incomplete fix for CVE-2024-53900. The vulnerability allowed nested $where operators (e.g., within $or, $and) to bypass the shallow top-level check in populate() match filters, enabling arbitrary JavaScript execution. Target version 9.7.4 contains the complete fix: recursive `throwOn$where()` function that detects $where at ANY nesting level. The fix was authored by upstream maintainer val@karpov.io in commit 64a9f9706 and shipped in the upstream release before TuxCare onboarded version 9.7.4. The vulnerable pattern is not present in the target."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125116 is fixed in version 9.7.4-tuxcare.1 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125116"
      }
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125117 is fixed in version 9.7.4-tuxcare.1 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125117"
      }
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125118 is fixed in version 9.7.4-tuxcare.1 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125118"
      }
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125119 affects version 9.7.4-tuxcare.1 of mongoose, and is fixed in 9.7.4-tuxcare.2.",
      "vulnerability": {
        "name": "CVE-2026-125119"
      },
      "action_statement": "Vulnerability CVE-2026-125119 affects version 9.7.4-tuxcare.1 of mongoose, and is fixed in 9.7.4-tuxcare.2."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-125120 is fixed in version 9.7.4-tuxcare.1 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-125120"
      }
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-03T00:39:50.261119+00:00",
      "status_notes": "Vulnerability CVE-2026-142608 affects version 9.7.4-tuxcare.1 of mongoose.",
      "vulnerability": {
        "name": "CVE-2026-142608"
      },
      "action_statement": "Vulnerability CVE-2026-142608 affects version 9.7.4-tuxcare.1 of mongoose."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T20:45:37.446146+00:00",
      "status_notes": "Vulnerability CVE-2026-42334 does not affect version 9.7.4-tuxcare.1 of mongoose. CVE-2026-42334 is NOT present in mongoose 9.7.4. The vulnerability allowed bypassing sanitizeFilter via the `$nor` operator because it was not included in the recursive sanitization logic. The upstream fix (commit b804e34e4d4cc670d7247fbd558c47412b4e5e01 by Valeri Karpov) added `$nor` to the list of logical operators that trigger recursive sanitization at line 24 of lib/helpers/query/sanitizeFilter.js. This fix was shipped in the upstream release before TuxCare made any modifications to this branch (first TuxCare commit: 7460e39c0). The target version 9.7.4 inherited this fix from upstream, so the vulnerable pattern is not present.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-42334"
      },
      "impact_statement": "CVE-2026-42334 is NOT present in mongoose 9.7.4. The vulnerability allowed bypassing sanitizeFilter via the `$nor` operator because it was not included in the recursive sanitization logic. The upstream fix (commit b804e34e4d4cc670d7247fbd558c47412b4e5e01 by Valeri Karpov) added `$nor` to the list of logical operators that trigger recursive sanitization at line 24 of lib/helpers/query/sanitizeFilter.js. This fix was shipped in the upstream release before TuxCare made any modifications to this branch (first TuxCare commit: 7460e39c0). The target version 9.7.4 inherited this fix from upstream, so the vulnerable pattern is not present."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability CVE-2026-73562 does not affect version 9.7.4-tuxcare.1 of mongoose. not_affected \u2014 Target Mongoose 9.7.4 is not affected by CVE-2026-73562. The prototype pollution vulnerability in update casting was fixed by upstream (Automattic/mongoose) in version 9.7.2, released June 22, 2026. All three critical defense mechanisms are present in the target: (1) lib/schema.js uses Object.hasOwn() and blocks special properties (__proto__, constructor, prototype); (2) lib/document.js uses Ob...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-73562"
      },
      "impact_statement": "not_affected \u2014 Target Mongoose 9.7.4 is not affected by CVE-2026-73562. The prototype pollution vulnerability in update casting was fixed by upstream (Automattic/mongoose) in version 9.7.2, released June 22, 2026. All three critical defense mechanisms are present in the target: (1) lib/schema.js uses Object.hasOwn() and blocks special properties (__proto__, constructor, prototype); (2) lib/document.js uses Ob..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/mongoose@9.7.4-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/mongoose@9.7.4-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-23T10:48:21.589131+00:00",
      "status_notes": "Vulnerability GHSA-r5xw-q988-826m does not affect version 9.7.4-tuxcare.1 of mongoose. not_affected \u2014 Target version 9.7.4 is NOT affected by GHSA-r5xw-q988-826m (remote memory exposure via uninitialized buffer allocation). The vulnerability was fixed in upstream commit 4a1c77b87 (August 2018) which replaced unsafe `new Buffer(number)` with safe `Buffer.alloc(number)`. This fix was shipped in upstream version 5.10.0, well before any TuxCare involvement. The target contains the fixed code that p...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-r5xw-q988-826m"
      },
      "impact_statement": "not_affected \u2014 Target version 9.7.4 is NOT affected by GHSA-r5xw-q988-826m (remote memory exposure via uninitialized buffer allocation). The vulnerability was fixed in upstream commit 4a1c77b87 (August 2018) which replaced unsafe `new Buffer(number)` with safe `Buffer.alloc(number)`. This fix was shipped in upstream version 5.10.0, well before any TuxCare involvement. The target contains the fixed code that p..."
    }
  ]
}
